public static class InputDevice.DeviceAxis extends Axis
JOYSTICK_HAT_X, JOYSTICK_HAT_Y, JOYSTICK_LEFT_TRIGGER, JOYSTICK_LEFT_X, JOYSTICK_LEFT_Y, JOYSTICK_RIGHT_TRIGGER, JOYSTICK_RIGHT_X, JOYSTICK_RIGHT_Y, JOYSTICK_X, JOYSTICK_Y, MOUSE_WHEEL, MOUSE_X, MOUSE_Y
Constructor and Description |
---|
DeviceAxis(InputDevice device,
Axis axis) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Axis |
getAxis()
Returns the generic axis identifier that is not specific
to this device.
|
InputDevice |
getDevice()
Returns the specific device to which this axis applies.
|
int |
hashCode() |
java.lang.String |
toString() |
public DeviceAxis(InputDevice device, Axis axis)
public InputDevice getDevice()
public Axis getAxis()