Update more deadzones.

This commit is contained in:
Anna Rose Wiggins 2025-09-14 19:10:44 -04:00
parent ea1ab83a4f
commit 32f2263ae4

View file

@ -18,8 +18,9 @@ rules:
input: input:
device: flightstick device: flightstick
# To find reasonable values for your device's deadzones, use the evtest command # To find reasonable values for your device's deadzones, use the evtest command
deadzone_start: 28000 deadzones:
deadzone_end: 30000 - start: 28000
end: 30000
inverted: false inverted: false
axis: ABS_X axis: ABS_X
output: output:
@ -33,8 +34,9 @@ rules:
# size value. This will create a deadzone that covers a range of deadzone_size, # size value. This will create a deadzone that covers a range of deadzone_size,
# centered on the center value. Note that if your deadzone_center is at the lower or upper end # centered on the center value. Note that if your deadzone_center is at the lower or upper end
# of the axis, the total size will still be as given; the deadzone will be "shifted" into bounds. # of the axis, the total size will still be as given; the deadzone will be "shifted" into bounds.
deadzone_center: 29000 deadzones:
deadzone_size: 2000 - center: 29000
size: 2000
inverted: false inverted: false
axis: Y # The ABS_ prefix is optional axis: Y # The ABS_ prefix is optional
output: output:
@ -46,8 +48,9 @@ rules:
device: flightstick device: flightstick
# A final way to specify deadzones is to use a size percentage instead of an absolute size. # A final way to specify deadzones is to use a size percentage instead of an absolute size.
# This works exactly like deadzone_size, but calculates a percentage of the axis' total range. # This works exactly like deadzone_size, but calculates a percentage of the axis' total range.
deadzone_center: 29000 deadzones:
deadzone_size_percent: 5 - center: 29000
size_percent: 5
inverted: false inverted: false
axis: Y # The ABS_ prefix is optional axis: Y # The ABS_ prefix is optional
output: output: