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, toString
protected net.java.games.input.LinuxJoystickAxis getXAxis()
protected net.java.games.input.LinuxJoystickAxis getYAxis()
protected void updateValue()
public final boolean isRelative()
Component
true
if data returned from poll
is relative to the last call, or false
if data
is absolute.public final boolean isAnalog()
AbstractComponent
isAnalog
in interface Component
isAnalog
in class AbstractComponent
protected final float poll() throws IOException
poll
in class AbstractComponent
IOException