net.java.games.input
public interface Component
Modifier and Type | Interface and Description |
---|---|
static class |
Component.Identifier
Identifiers for different Axes.
|
static class |
Component.POV
POV enum for different positions.
|
Modifier and Type | Method and Description |
---|---|
float |
getDeadZone()
Returns the suggested dead zone for this axis.
|
Component.Identifier |
getIdentifier()
Returns the identifier of the axis.
|
String |
getName()
Returns a human-readable name for this axis.
|
float |
getPollData()
Returns the data from the last time the control has been polled.
|
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. |
Component.Identifier getIdentifier()
boolean isRelative()
true
if data returned from poll
is relative to the last call, or false
if data
is absolute.boolean isAnalog()
float getDeadZone()
getPollData()
float getPollData()
Controller.poll()
String getName()