public class LinuxJoystickPOV extends AbstractComponent
Component.Identifier, Component.POV| Modifier and Type | Method and Description |
|---|---|
protected net.java.games.input.LinuxJoystickAxis |
getXAxis() |
protected net.java.games.input.LinuxJoystickAxis |
getYAxis() |
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. |
protected float |
poll() |
protected void |
updateValue() |
getDeadZone, getIdentifier, getName, getPollData, toStringprotected net.java.games.input.LinuxJoystickAxis getXAxis()
protected net.java.games.input.LinuxJoystickAxis getYAxis()
protected void updateValue()
public final boolean isRelative()
Componenttrue if data returned from poll
is relative to the last call, or false if data
is absolute.public final boolean isAnalog()
AbstractComponentisAnalog in interface ComponentisAnalog in class AbstractComponentprotected final float poll()
throws IOException
poll in class AbstractComponentIOException