summaryrefslogtreecommitdiffstatshomepage
path: root/ctrlr
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-12-06 03:13:53 +1100
committer Vas Crabb <vas@vastheman.com>2021-12-06 03:13:53 +1100
commit7d1ff26fb32c237aeaca842280829a59f1992dd5 (patch)
tree3ce1bb7d334c7a4ae44dfa36d588a2140242a9a2 /ctrlr
parent5839fb7a5276a5a92b4d2400a3c2ad622bd3f9b1 (diff)
Fixed MT07153 (SlikStick configuration for asteroid not working).
Since asteroid overrides the default input assignments, slikstik.cfg needs to use the syntax for overriding specific inputs. There was also a bug in how specific input overrides are applied.
Diffstat (limited to 'ctrlr')
-rw-r--r--ctrlr/slikstik.cfg10
1 files changed, 5 insertions, 5 deletions
diff --git a/ctrlr/slikstik.cfg b/ctrlr/slikstik.cfg
index 42456f31d80..8815980a6b5 100644
--- a/ctrlr/slikstik.cfg
+++ b/ctrlr/slikstik.cfg
@@ -176,19 +176,19 @@
-->
<input>
- <port type="P1_JOYSTICK_LEFT">
+ <port tag=":IN1" type="P1_BUTTON1" mask="128">
<newseq type="standard">KEYCODE_LEFT OR JOYCODE_1_XAXIS_LEFT_SWITCH OR KEYCODE_0</newseq>
</port>
- <port type="P1_JOYSTICK_RIGHT">
+ <port tag=":IN1" type="P1_BUTTON2" mask="64">
<newseq type="standard">KEYCODE_RIGHT OR JOYCODE_1_XAXIS_RIGHT_SWITCH OR KEYCODE_Z</newseq>
</port>
- <port type="P1_BUTTON1">
+ <port tag=":IN0" type="P1_BUTTON3" mask="16">
<newseq type="standard">KEYCODE_H OR JOYCODE_1_BUTTON1 OR MOUSECODE_1_BUTTON1</newseq>
</port>
- <port type="P1_BUTTON2">
+ <port tag=":IN1" type="P1_BUTTON4" mask="32">
<newseq type="standard">KEYCODE_7 OR JOYCODE_1_BUTTON2 OR KEYCODE_L</newseq>
</port>
- <port type="P1_BUTTON3">
+ <port tag=":IN0" type="P1_BUTTON5" mask="8">
<newseq type="standard">KEYCODE_9 OR JOYCODE_1_BUTTON3 OR MOUSECODE_1_BUTTON2</newseq>
</port>
</input>