diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-11 17:06:29 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-11 17:06:29 +0200 |
commit | a029d5e89345709a9ffe49c4168ea3a45317fec2 (patch) | |
tree | d66534300553d00a1538d227e41ce9b6b0d6d587 | |
parent | ed15304dbbfc62b3da2b5c7bf5770efa1ffa6457 (diff) | |
download | digitale-debutanten-a029d5e89345709a9ffe49c4168ea3a45317fec2.tar.gz |
renamed joystick and button controls, named buttons for left and right joysticks
-rw-r--r-- | lib/RumbleEvent.ck | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/RumbleEvent.ck b/lib/RumbleEvent.ck index d96635e..ef30ca8 100644 --- a/lib/RumbleEvent.ck +++ b/lib/RumbleEvent.ck @@ -56,11 +56,12 @@ public class RumbleEvent extends GenEvent { spork ~ __hid_loop(); } /* static initialization */ -["leftJoystickX", "leftJoystickY", "leftButton", - "rightJoystickX", "rightJoystickY", "rightButton", +["joystickLeftX", "joystickLeftY", "axisButtonLeft", + "joystickRightX", "joystickRightY", "axisButtonRight", "cursorX", "cursorY"] @=> RumbleEvent.__axisToName; ["buttonA", "buttonB", "buttonX", "buttonY", - "buttonLB", "buttonRB", "buttonStart", - "", "", "", /* 7 to 9 are unused */ + "buttonLeft", "buttonRight", + "buttonStart", "buttonLogitech", + "buttonJoystickLeft", "buttonJoystickRight", "buttonBack"] @=> RumbleEvent.__buttonToName; |