public class AndroidSensorJoyInput.AndroidSensorJoystickAxis
extends com.jme3.input.DefaultJoystickAxis
implements com.jme3.input.SensorJoystickAxis
| Constructor and Description |
|---|
AndroidSensorJoyInput.AndroidSensorJoystickAxis(com.jme3.input.InputManager inputManager,
com.jme3.input.Joystick parent,
int axisIndex,
java.lang.String name,
java.lang.String logicalId,
boolean isAnalog,
boolean isRelative,
float deadZone,
float maxRawValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
calibrateCenter() |
protected float |
getJoystickAxisValue() |
protected float |
getLastRawValue() |
float |
getMaxRawValue() |
protected boolean |
isChanged() |
protected void |
setCurRawValue(float rawValue) |
void |
setMaxRawValue(float maxRawValue) |
public AndroidSensorJoyInput.AndroidSensorJoystickAxis(com.jme3.input.InputManager inputManager,
com.jme3.input.Joystick parent,
int axisIndex,
java.lang.String name,
java.lang.String logicalId,
boolean isAnalog,
boolean isRelative,
float deadZone,
float maxRawValue)
public float getMaxRawValue()
getMaxRawValue in interface com.jme3.input.SensorJoystickAxispublic void setMaxRawValue(float maxRawValue)
setMaxRawValue in interface com.jme3.input.SensorJoystickAxisprotected float getLastRawValue()
protected void setCurRawValue(float rawValue)
protected float getJoystickAxisValue()
protected boolean isChanged()
public void calibrateCenter()
calibrateCenter in interface com.jme3.input.SensorJoystickAxis