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

@ -119,6 +119,9 @@ rules:
# and a button press every 10 milliseconds at the axis' maximum value.
repeat_rate_min: 1000
repeat_rate_max: 10
# If hold is set to true, when the rule is triggered the button will be active until the rule is no longer triggered.
# Repeat rate settings are ignored when hold is true.
hold: false
input:
device: flightstick
axis: ABS_RY # This axis commonly represents thumbsticks