Add hold option to axis-to-button (#13)

Reviewed-on: https://codeberg.org/annabunches/joyful/pulls/13
This commit is contained in:
Anna Rose Wiggins 2026-09-12 16:09:10 +02:00 committed by annabunches
parent add27f17e2
commit 77ee020b2a
4 changed files with 39 additions and 0 deletions

View file

@ -52,6 +52,7 @@ type RuleConfigAxisCombined struct {
}
type RuleConfigAxisToButton struct {
Hold bool
RepeatRateMin int `yaml:"repeat_rate_min,omitempty"`
RepeatRateMax int `yaml:"repeat_rate_max,omitempty"`
Input RuleTargetConfigAxis