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, toString
public LinuxJoystickButton(Component.Identifier button_id)
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 IOException
poll
in class AbstractComponent
IOException