Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| package steelhawks.util; | |
| //Logitech Gamepad F310 Buttons | |
| //if you are using a different type of joystick, add a new class and change the | |
| //joystick button mapping in corresponding map class (ShooterMap, BallLoaderMap, etc.) | |
| public class F310 { | |
| public final static int kGamepadAxisLeftStickX = 1; | |
| public final static int kGamepadAxisLeftStickY = 2; | |
| public final static int kGamepadAxisShoulder = 3; | |
| public final static int kGamepadAxisRightStickX = 4; | |
| public final static int kGamepadAxisRightStickY = 5; | |
| public final static int kGamepadAxisDpad = 6; | |
| public final static int kGamepadButtonA = 1; // Bottom button | |
| public final static int kGamepadButtonB = 2; // Right button | |
| public final static int kGamepadButtonX = 3; // Left button | |
| public final static int kGamepadButtonY = 4; // Top button | |
| public final static int kGamepadButtonShoulderL = 5; | |
| public final static int kGamepadButtonShoulderR = 6; | |
| public final static int kGamepadButtonBack = 7; | |
| public final static int kGamepadButtonStart = 8; | |
| public final static int kGamepadButtonLeftStick = 9; | |
| public final static int kGamepadButtonRightStick = 10; | |
| public final static int kGamepadButtonMode = -1; // unknown | |
| public final static int kGamepadButtonLogitech = -1; // unknown | |
| } |