Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.LinuxJoystickButton Class Reference
Inheritance diagram for net.java.games.input.LinuxJoystickButton:

Public Member Functions

 LinuxJoystickButton (Component.Identifier.Button button_id)
 
final boolean isRelative ()
 
- Public Member Functions inherited from net.java.games.input.AbstractComponent
Identifier getIdentifier ()
 
boolean isAnalog ()
 
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
 

Detailed Description

Represents a linux button from the joystick interface

Author
elias
Version
1.0

Member Function Documentation

final boolean net.java.games.input.LinuxJoystickButton.isRelative ( )
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.