j3d.org Code

org.j3d.device.input
Interface InputDevice

All Known Subinterfaces:
ControllerDevice, GamepadDevice, JoystickDevice, TrackerDevice, WheelDevice
All Known Implementing Classes:
Gamepad, Joystick, Wheel

public interface InputDevice

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

Version:
$Revision: 1.1 $
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_LEFT_STICK_Z
           
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

static final int FUNC_NONE
Function constants

See Also:
Constant Field Values

FUNC_THROTTLE

static final int FUNC_THROTTLE
See Also:
Constant Field Values

FUNC_NAV_X

static final int FUNC_NAV_X
See Also:
Constant Field Values

FUNC_NAV_Y

static final int FUNC_NAV_Y
See Also:
Constant Field Values

FUNC_ORIENT_X

static final int FUNC_ORIENT_X
See Also:
Constant Field Values

FUNC_ORIENT_Y

static final int FUNC_ORIENT_Y
See Also:
Constant Field Values

FUNC_NAV_Y_CENTERED

static final int FUNC_NAV_Y_CENTERED
See Also:
Constant Field Values

FUNC_LEFT_STICK_X

static final int FUNC_LEFT_STICK_X
See Also:
Constant Field Values

FUNC_LEFT_STICK_Y

static final int FUNC_LEFT_STICK_Y
See Also:
Constant Field Values

FUNC_LEFT_STICK_Z

static final int FUNC_LEFT_STICK_Z
See Also:
Constant Field Values

FUNC_RIGHT_STICK_X

static final int FUNC_RIGHT_STICK_X
See Also:
Constant Field Values

FUNC_RIGHT_STICK_Y

static final int FUNC_RIGHT_STICK_Y
See Also:
Constant Field Values

FUNC_LEFT_HAT

static final int FUNC_LEFT_HAT
See Also:
Constant Field Values

FUNC_L1_BUTTON

static final int FUNC_L1_BUTTON
See Also:
Constant Field Values

FUNC_R1_BUTTON

static final int FUNC_R1_BUTTON
See Also:
Constant Field Values

FUNC_START_BUTTON

static final int FUNC_START_BUTTON
See Also:
Constant Field Values

FUNC_WHEEL_X

static final int FUNC_WHEEL_X
See Also:
Constant Field Values

FUNC_BUTTON_1

static final int FUNC_BUTTON_1
See Also:
Constant Field Values

FUNC_BUTTON_2

static final int FUNC_BUTTON_2
See Also:
Constant Field Values

FUNC_BUTTON_3

static final int FUNC_BUTTON_3
See Also:
Constant Field Values

FUNC_BUTTON_4

static final int FUNC_BUTTON_4
See Also:
Constant Field Values

FUNC_VIEWPOINT_NEXT

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

getName

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

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org