From a029d5e89345709a9ffe49c4168ea3a45317fec2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 11 Sep 2012 17:06:29 +0200 Subject: renamed joystick and button controls, named buttons for left and right joysticks --- lib/RumbleEvent.ck | 9 +++++---- 1 file 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; -- cgit v1.2.3