Game Control Plus
1.2.2
|
Public Member Functions | |
LinuxJoystickAxis (Component.Identifier.Axis axis_id) | |
final boolean | isRelative () |
final boolean | isAnalog () |
Public Member Functions inherited from net.java.games.input.AbstractComponent | |
Identifier | getIdentifier () |
float | getDeadZone () |
final float | getPollData () |
final float | getEventValue () |
final void | setEventValue (float event_value) |
String | getName () |
String | toString () |
Protected Member Functions | |
final float | poll () throws IOException |
Protected Member Functions inherited from net.java.games.input.AbstractComponent | |
AbstractComponent (String name, Identifier id) | |
Package Functions | |
final void | setValue (float value) |
Package Functions inherited from net.java.games.input.AbstractComponent | |
final void | setPollData (float value) |
Private Attributes | |
float | value |
Represents a linux Axis
|
virtual |
Returns whether or not the axis is analog, or false if it is digital.
Reimplemented from net.java.games.input.AbstractComponent.
|
virtual |
Returns true
if data returned from poll
is relative to the last call, or false
if data is absolute.
Implements net.java.games.input.Component.