Quote:
Originally Posted by ekapalka
Does anyone happen to know the button mapping for the Logitech Gamepad F310 and/or Logitech Attack3 joystick? Is the gamepad mapping the same as the xBox controller? We'll be using the Attack3 joysticks until we order some sort of gamepad, probably the Logitech F310 gamepad, based on F22Rapture's testimony. Thanks!
|
Not sure on the F310 (see nightpool's post), but the Attack3 is something like this:
Code:
//Axis Indexes
public static final int
X_AXIS = 1,
Y_AXIS = 2,
THROTTLE = 3;
//Buttons
public static final int
//Buttons on joystick
TRIGGER = 1,
//POV buttons on head of stick
BUTTON_SOUTH = 2,
BUTTON_NORTH = 3,
BUTTON_WEST = 4,
BUTTON_EAST = 5,
//Pair of buttons left of stick
BUTTON_BASE_WNW = 6,
BUTTON_BASE_WSW = 7,
//Pair of buttons below stick
BUTTON_BASE_SSW = 8,
BUTTON_BASE_SSE = 9,
//Pair of buttons right of stick
BUTTON_BASE_ESE = 10,
BUTTON_BASE_ENE = 11;
I don't have one on me, so I'd appreciate it if someone could confirm.