public class AxisState extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static AxisState |
ORIGIN |
static AxisState |
PRESSED |
Constructor and Description |
---|
AxisState(double value)
double must be in the range [-1,1]
|
AxisState(int value) |
Modifier and Type | Method and Description |
---|---|
double |
doubleValue() |
int |
intValue() |
boolean |
isPressed()
returns true if the double value is 1 or -1.
|
boolean |
isReleased() |
String |
toString() |