public static class InputDevice.DeviceButton extends Button
JOYSTICK_BUTTON1, JOYSTICK_BUTTON10, JOYSTICK_BUTTON11, JOYSTICK_BUTTON12, JOYSTICK_BUTTON2, JOYSTICK_BUTTON3, JOYSTICK_BUTTON4, JOYSTICK_BUTTON5, JOYSTICK_BUTTON6, JOYSTICK_BUTTON7, JOYSTICK_BUTTON8, JOYSTICK_BUTTON9, JOYSTICK_LEFT1, JOYSTICK_LEFT2, JOYSTICK_LEFT3, JOYSTICK_RIGHT1, JOYSTICK_RIGHT2, JOYSTICK_RIGHT3, JOYSTICK_SELECT, JOYSTICK_START, MOUSE_BUTTON1, MOUSE_BUTTON2, MOUSE_BUTTON3
Constructor and Description |
---|
DeviceButton(InputDevice device,
Button button) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Button |
getButton()
Returns the generic button identifier that is not specific
to this device.
|
InputDevice |
getDevice()
Returns the specific device to which this button applies.
|
int |
hashCode() |
java.lang.String |
toString() |
public DeviceButton(InputDevice device, Button button)
public InputDevice getDevice()
public Button getButton()