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 SummaryNested classes/interfaces inherited from interface net.java.games.input.ComponentComponent.Identifier, Component.POV
- 
Method SummaryModifier and TypeMethodDescriptionprotected net.java.games.input.LinuxJoystickAxisgetXAxis()protected net.java.games.input.LinuxJoystickAxisgetYAxis()final booleanisAnalog()Returns whether or not the axis is analog, or false if it is digital.final booleanReturnstrueif data returned frompollis relative to the last call, orfalseif data is absolute.protected final floatpoll()protected voidMethods inherited from class net.java.games.input.AbstractComponentgetDeadZone, getIdentifier, getName, getPollData, toString
- 
Method Details- 
getXAxisprotected net.java.games.input.LinuxJoystickAxis getXAxis()
- 
getYAxisprotected net.java.games.input.LinuxJoystickAxis getYAxis()
- 
updateValueprotected void updateValue()
- 
isRelativepublic final boolean isRelative()Description copied from interface:ComponentReturnstrueif data returned frompollis relative to the last call, orfalseif data is absolute.
- 
isAnalogpublic final boolean isAnalog()Description copied from class:AbstractComponentReturns whether or not the axis is analog, or false if it is digital.- Specified by:
- isAnalogin interface- Component
- Overrides:
- isAnalogin class- AbstractComponent
- Returns:
- false by default, can be overridden
 
- 
poll- Specified by:
- pollin class- AbstractComponent
- Throws:
- IOException
 
 
-