|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.games.input.AbstractComponent
net.java.games.input.LinuxJoystickButton
final class LinuxJoystickButton
Represents a linux button from the joystick interface
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.java.games.input.Component |
---|
Component.Identifier, Component.POV |
Constructor Summary | |
---|---|
LinuxJoystickButton(Component.Identifier button_id)
|
Method Summary | |
---|---|
boolean |
isRelative()
Returns true if data returned from poll
is relative to the last call, or false if data
is absolute. |
protected float |
poll()
|
(package private) void |
setValue(float value)
|
Methods inherited from class net.java.games.input.AbstractComponent |
---|
getDeadZone, getEventValue, getIdentifier, getName, getPollData, isAnalog, resetHasPolled, setEventValue, setPollData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LinuxJoystickButton(Component.Identifier button_id)
Method Detail |
---|
public final boolean isRelative()
Component
true
if data returned from poll
is relative to the last call, or false
if data
is absolute.
final void setValue(float value)
protected final float poll() throws java.io.IOException
poll
in class AbstractComponent
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |