aboutsummaryrefslogtreecommitdiff
path: root/system/peripherals.xml
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2016-08-18 14:48:00 -0700
committerGarrett Brown <themagnificentmrb@gmail.com>2016-08-24 18:35:05 -0700
commit260701671dbe94ecb840232f8a4f6403636f5eb4 (patch)
tree75ebb21686d99ce3400aec518bfc7c5f3ef0665e /system/peripherals.xml
parent32b8b069d2461d086035c466c675673782f05a4f (diff)
Add deadzone settings to joysticks
Diffstat (limited to 'system/peripherals.xml')
-rw-r--r--system/peripherals.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/peripherals.xml b/system/peripherals.xml
index 012b14a14e..f939c0b685 100644
--- a/system/peripherals.xml
+++ b/system/peripherals.xml
@@ -49,4 +49,10 @@
<setting key="do_not_use_custom_keymap" type="bool" value="0" label="35009" order="1" />
<setting key="keymap" value="wetek-play" label="35007" configurable="0" />
</peripheral>
+
+ <peripheral class="joystick" mapTo="joystick">
+ <setting key="left_stick_deadzone" type="float" label="35078" order="1" value="0.2" min="0.0" step="0.05" max="1.0" />
+ <setting key="right_stick_deadzone" type="float" label="35079" order="2" value="0.2" min="0.0" step="0.05" max="1.0" />
+ </peripheral>
+
</peripherals>