| Package | Description |
|---|---|
| com.github.strikerx3.jxinput | |
| com.github.strikerx3.jxinput.enums | |
| com.github.strikerx3.jxinput.listener |
| Modifier and Type | Method and Description |
|---|---|
EnumSet<XInputButton> |
XInputCapabilities.getSupportedButtons()
Retrieves the buttons supported by the device.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
XInputButtonsDelta.isPressed(XInputButton button)
Returns
true if the button was pressed (i.e. changed from released to pressed between two consecutive polls). |
boolean |
XInputButtonsDelta.isReleased(XInputButton button)
Returns
true if the button was released (i.e. changed from pressed to released between two consecutive polls). |
| Modifier and Type | Method and Description |
|---|---|
static XInputButton |
XInputButton.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XInputButton[] |
XInputButton.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XInputDeviceListener.buttonChanged(XInputButton button,
boolean pressed)
Called when a button is pressed or released.
|
void |
SimpleXInputDeviceListener.buttonChanged(XInputButton button,
boolean pressed) |
Copyright © 2018. All rights reserved.