final class LinuxJoystickButton extends AbstractComponent
Component.Identifier, Component.POV| Constructor and Description |
|---|
LinuxJoystickButton(Component.Identifier button_id) |
| Modifier and Type | Method and Description |
|---|---|
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) |
getDeadZone, getEventValue, getIdentifier, getName, getPollData, isAnalog, resetHasPolled, setEventValue, setPollData, toStringpublic LinuxJoystickButton(Component.Identifier button_id)
public final boolean isRelative()
Componenttrue 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 AbstractComponentjava.io.IOException