net.java.games.input
Class Controller.Type

java.lang.Object
  extended by net.java.games.input.Controller.Type
Enclosing interface:
Controller

public static class Controller.Type
extends java.lang.Object

Types of controller objects.


Field Summary
static Controller.Type FINGERSTICK
          Fingerstick controller; note that this may be sometimes treated as a type of mouse or stick.
static Controller.Type GAMEPAD
          Gamepad controller.
static Controller.Type HEADTRACKER
          Headtracker controller.
static Controller.Type KEYBOARD
          A keyboard controller
static Controller.Type MOUSE
          Mouse controller.
static Controller.Type RUDDER
          Rudder controller.
static Controller.Type STICK
          Stick controller, such as a joystick or flightstick.
static Controller.Type TRACKBALL
          A trackball controller; note that this may sometimes be treated as a type of mouse.
static Controller.Type TRACKPAD
          A trackpad, such as a tablet, touchpad, or glidepad; note that this may sometimes be treated as a type of mouse.
static Controller.Type UNKNOWN
          Unkown controller type.
static Controller.Type WHEEL
          A wheel controller, such as a steering wheel (note that a mouse wheel is considered part of a mouse, not a wheel controller).
 
Constructor Summary
protected Controller.Type(java.lang.String name)
          Protected constructor
 
Method Summary
 java.lang.String toString()
          Returns a non-localized string description of this controller type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final Controller.Type UNKNOWN
Unkown controller type.


MOUSE

public static final Controller.Type MOUSE
Mouse controller.


KEYBOARD

public static final Controller.Type KEYBOARD
A keyboard controller


FINGERSTICK

public static final Controller.Type FINGERSTICK
Fingerstick controller; note that this may be sometimes treated as a type of mouse or stick.


GAMEPAD

public static final Controller.Type GAMEPAD
Gamepad controller.


HEADTRACKER

public static final Controller.Type HEADTRACKER
Headtracker controller.


RUDDER

public static final Controller.Type RUDDER
Rudder controller.


STICK

public static final Controller.Type STICK
Stick controller, such as a joystick or flightstick.


TRACKBALL

public static final Controller.Type TRACKBALL
A trackball controller; note that this may sometimes be treated as a type of mouse.


TRACKPAD

public static final Controller.Type TRACKPAD
A trackpad, such as a tablet, touchpad, or glidepad; note that this may sometimes be treated as a type of mouse.


WHEEL

public static final Controller.Type WHEEL
A wheel controller, such as a steering wheel (note that a mouse wheel is considered part of a mouse, not a wheel controller).

Constructor Detail

Controller.Type

protected Controller.Type(java.lang.String name)
Protected constructor

Method Detail

toString

public java.lang.String toString()
Returns a non-localized string description of this controller type.

Overrides:
toString in class java.lang.Object