Game Control Plus
1.2.2
|
Public Member Functions | |
String | toString () |
String | getName () |
int | getID () |
Static Public Attributes | |
static final Type | UNKNOWN = new Type("Unknown", 0x00000001) |
static final Type | MOUSE = new Type("Mouse", 0x00000002) |
static final Type | KEYBOARD = new Type("Keyboard", 0x00000004) |
static final Type | FINGERSTICK = new Type("Fingerstick", 0x00000008) |
static final Type | GAMEPAD = new Type("Gamepad", 0x00000010) |
static final Type | HEADTRACKER = new Type("Headtracker", 0x00000020) |
static final Type | RUDDER = new Type("Rudder", 0x00000040) |
static final Type | STICK = new Type("Stick", 0x00000080) |
static final Type | TRACKBALL = new Type("Trackball", 0x00000100) |
static final Type | TRACKPAD = new Type("Trackpad", 0x00000200) |
static final Type | WHEEL = new Type("Wheel", 0x00000400) |
Protected Member Functions | |
Type (String name, int id) | |
Private Attributes | |
final String | name |
final int | id |
Types of controller objects.
The ID number has been added for GCP so that we can apply filters if we wish
|
protected |
Protected constructor
String net.java.games.input.Controller.Type.toString | ( | ) |
Returns a non-localized string description of this controller type.
|
static |
Fingerstick controller; note that this may be sometimes treated as a type of mouse or stick.
Gamepad controller.
|
static |
Headtracker controller.
A keyboard controller (same as BUTTONS)
Mouse controller.
|
private |
Name of controller type
Rudder controller.
Stick controller, such as a joystick or flightstick.
|
static |
A trackball controller; note that this may sometimes be treated as a type of mouse.
A trackpad, such as a tablet, touchpad, or glidepad; note that this may sometimes be treated as a type of mouse.
Unkown controller type.