public class GamepadEvent
extends java.util.EventObject
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponent()
Gets the identifier of the component that caused this event.
|
Gamepad |
getGamepad()
Gets the gamepad that caused the event.
|
float |
getValue()
Gets the data from the last time the component has been polled.
|
boolean |
isAnalog()
Returns whether or not the axis is analog, or false if it is digital.
|
boolean |
isRelative()
Returns
true if data returned from poll
is relative to the last call, or false if data
is absolute. |
public float getValue()
public java.lang.String getComponent()
public Gamepad getGamepad()
public boolean isRelative()
true
if data returned from poll
is relative to the last call, or false
if data
is absolute.public boolean isAnalog()