Package net.java.games.input
Class LinuxJoystickPOV
java.lang.Object
net.java.games.input.AbstractComponent
net.java.games.input.LinuxJoystickPOV
- All Implemented Interfaces:
Component
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.java.games.input.Component
Component.Identifier, Component.POV -
Method Summary
Modifier and TypeMethodDescriptionprotected net.java.games.input.LinuxJoystickAxisgetXAxis()protected net.java.games.input.LinuxJoystickAxisgetYAxis()final booleanisAnalog()final booleanprotected final floatpoll()protected voidMethods inherited from class net.java.games.input.AbstractComponent
getDeadZone, getIdentifier, getName, getPollData, toString
-
Method Details
-
getXAxis
-
getYAxis
-
updateValue
protected void updateValue() -
isRelative
public final boolean isRelative() -
isAnalog
public final boolean isAnalog()- Specified by:
isAnalogin interfaceComponent- Overrides:
isAnalogin classAbstractComponent
-
poll
- Specified by:
pollin classAbstractComponent- Throws:
IOException
-