Game Control Plus
1.2.2
|
Public Member Functions | |
DIComponent (Component.Identifier identifier, DIDeviceObject object) | |
final boolean | isRelative () |
final boolean | isAnalog () |
final float | getDeadZone () |
final DIDeviceObject | getDeviceObject () |
Public Member Functions inherited from net.java.games.input.AbstractComponent | |
Identifier | getIdentifier () |
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) | |
Private Attributes | |
final DIDeviceObject | object |
Additional Inherited Members | |
Package Functions inherited from net.java.games.input.AbstractComponent | |
final void | setPollData (float value) |
|
virtual |
Returns the suggested dead zone for this axis. Dead zone is the amount polled data can vary before considered a significant change in value. An application can safely ignore changes less than this value in the positive or negative direction.
Reimplemented from net.java.games.input.AbstractComponent.
|
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.