Top Description Inners Methods
net.java.games.input

public Interface Component

Known Direct Implementers
net.java.games.input.AbstractComponent

An axis is a single button, slider, or dial, which has a single range. An axis can hold information for motion (linear or rotational), velocity, force, or acceleration.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Component.Identifier

Identifiers for different Axes.

public static class
Component.POV

POV enum for different positions.

Method Summary

Modifier and TypeMethod and Description
public float
getDeadZone()

Returns the suggested dead zone for this axis.

public Component.Identifier
getIdentifier()

Returns the identifier of the axis.

public String
getName()

Returns a human-readable name for this axis.

public float
getPollData()

Returns the data from the last time the control has been polled.

public boolean
isAnalog()

Returns whether or not the axis is analog, or false if it is digital.

public boolean
isRelative()

Returns true if data returned from poll is relative to the last call, or false if data is absolute.