Xj3D VRML/X3D Code API

org.web3d.vrml.device
Interface InputDevice

All Known Subinterfaces:
ControllerDevice, GamepadDevice, JoystickDevice, TrackerDevice, WheelDevice
All Known Implementing Classes:
MouseDevice, MouseDevice

public interface InputDevice

An input device. Input devices are further classified as Midi, Tracker, or Controller.

Version:
$Revision: 1.5 $
Author:
Alan Hudson

Field Summary
static int FUNC_BUTTON_1
           
static int FUNC_BUTTON_2
           
static int FUNC_BUTTON_3
           
static int FUNC_BUTTON_4
           
static int FUNC_L1_BUTTON
           
static int FUNC_LEFT_HAT
           
static int FUNC_LEFT_STICK_X
           
static int FUNC_LEFT_STICK_Y
           
static int FUNC_NAV_X
           
static int FUNC_NAV_Y
           
static int FUNC_NAV_Y_CENTERED
           
static int FUNC_NONE
          Function constants
static int FUNC_ORIENT_X
           
static int FUNC_ORIENT_Y
           
static int FUNC_R1_BUTTON
           
static int FUNC_RIGHT_STICK_X
           
static int FUNC_RIGHT_STICK_Y
           
static int FUNC_START_BUTTON
           
static int FUNC_THROTTLE
           
static int FUNC_VIEWPOINT_NEXT
           
static int FUNC_WHEEL_X
           
 
Method Summary
 java.lang.String getName()
          Get the name of this device.
 

Field Detail

FUNC_NONE

public static final int FUNC_NONE
Function constants

See Also:
Constant Field Values

FUNC_THROTTLE

public static final int FUNC_THROTTLE
See Also:
Constant Field Values

FUNC_NAV_X

public static final int FUNC_NAV_X
See Also:
Constant Field Values

FUNC_NAV_Y

public static final int FUNC_NAV_Y
See Also:
Constant Field Values

FUNC_ORIENT_X

public static final int FUNC_ORIENT_X
See Also:
Constant Field Values

FUNC_ORIENT_Y

public static final int FUNC_ORIENT_Y
See Also:
Constant Field Values

FUNC_NAV_Y_CENTERED

public static final int FUNC_NAV_Y_CENTERED
See Also:
Constant Field Values

FUNC_LEFT_STICK_X

public static final int FUNC_LEFT_STICK_X
See Also:
Constant Field Values

FUNC_LEFT_STICK_Y

public static final int FUNC_LEFT_STICK_Y
See Also:
Constant Field Values

FUNC_RIGHT_STICK_X

public static final int FUNC_RIGHT_STICK_X
See Also:
Constant Field Values

FUNC_RIGHT_STICK_Y

public static final int FUNC_RIGHT_STICK_Y
See Also:
Constant Field Values

FUNC_LEFT_HAT

public static final int FUNC_LEFT_HAT
See Also:
Constant Field Values

FUNC_L1_BUTTON

public static final int FUNC_L1_BUTTON
See Also:
Constant Field Values

FUNC_R1_BUTTON

public static final int FUNC_R1_BUTTON
See Also:
Constant Field Values

FUNC_START_BUTTON

public static final int FUNC_START_BUTTON
See Also:
Constant Field Values

FUNC_WHEEL_X

public static final int FUNC_WHEEL_X
See Also:
Constant Field Values

FUNC_BUTTON_1

public static final int FUNC_BUTTON_1
See Also:
Constant Field Values

FUNC_BUTTON_2

public static final int FUNC_BUTTON_2
See Also:
Constant Field Values

FUNC_BUTTON_3

public static final int FUNC_BUTTON_3
See Also:
Constant Field Values

FUNC_BUTTON_4

public static final int FUNC_BUTTON_4
See Also:
Constant Field Values

FUNC_VIEWPOINT_NEXT

public static final int FUNC_VIEWPOINT_NEXT
See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Get the name of this device. Names are of the form class-#. Valid classes are Gamepad, Joystick, Wheel, Midi, GenericHID.

Returns:
The name

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium