org.web3d.vrml.device
Interface WheelDevice
- All Superinterfaces:
- ControllerDevice, InputDevice
- public interface WheelDevice
- extends ControllerDevice
Devices which map data to gamepads.
- Version:
- $Revision: 1.3 $
- Author:
- Alan Hudson
| Fields inherited from interface org.web3d.vrml.device.InputDevice |
FUNC_BUTTON_1, FUNC_BUTTON_2, FUNC_BUTTON_3, FUNC_BUTTON_4, FUNC_L1_BUTTON, FUNC_LEFT_HAT, FUNC_LEFT_STICK_X, FUNC_LEFT_STICK_Y, FUNC_NAV_X, FUNC_NAV_Y, FUNC_NAV_Y_CENTERED, FUNC_NONE, FUNC_ORIENT_X, FUNC_ORIENT_Y, FUNC_R1_BUTTON, FUNC_RIGHT_STICK_X, FUNC_RIGHT_STICK_Y, FUNC_START_BUTTON, FUNC_THROTTLE, FUNC_VIEWPOINT_NEXT, FUNC_WHEEL_X |
getState
public void getState(WheelState state)
- Get the current state of this device. Any arrays too small will be
resized.
- Parameters:
state - The state structure to fill in.
setEquilibriumPoint
public void setEquilibriumPoint(float val)
- Set the equilibriumPoint. This is the direction the wheel will return
to if left alone.
- Parameters:
val - The wheel direction, from left(-1) to 1(right).
Copyright © 2001 - 2005 Web3D Consortium