Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.Controller.PortType Class Reference

Public Member Functions

String toString ()
 

Static Public Attributes

static final PortType UNKNOWN = new PortType("Unknown")
 
static final PortType USB = new PortType("USB port")
 
static final PortType GAME = new PortType("Game port")
 
static final PortType NETWORK = new PortType("Network port")
 
static final PortType SERIAL = new PortType("Serial port")
 
static final PortType I8042 = new PortType("i8042 (PS/2)")
 
static final PortType PARALLEL = new PortType("Parallel port")
 

Protected Member Functions

 PortType (String name)
 

Private Attributes

final String name
 

Detailed Description

Types of controller objects. This is the original class without ID numbers Name of controller type Protected constructor Returns a non-localized string description of this controller type. Unkown controller type. Mouse controller. A keyboard controller (same as BUTTONS)

See Also
#BUTTONS Fingerstick controller; note that this may be sometimes treated as a type of mouse or stick. Gamepad controller. Headtracker controller. Rudder controller. Stick controller, such as a joystick or flightstick. 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. A wheel controller, such as a steering wheel (note that a mouse wheel is considered part of a mouse, not a wheel controller). Common controller port types.

Constructor & Destructor Documentation

net.java.games.input.Controller.PortType.PortType ( String  name)
protected

Protected constructor

Member Function Documentation

String net.java.games.input.Controller.PortType.toString ( )

Returns a non-localized string description of this port type.

Member Data Documentation

final PortType net.java.games.input.Controller.PortType.GAME = new PortType("Game port")
static

Standard game port

final PortType net.java.games.input.Controller.PortType.I8042 = new PortType("i8042 (PS/2)")
static

i8042

final String net.java.games.input.Controller.PortType.name
private

Name of port type

final PortType net.java.games.input.Controller.PortType.NETWORK = new PortType("Network port")
static

Network port

final PortType net.java.games.input.Controller.PortType.PARALLEL = new PortType("Parallel port")
static

Parallel port

final PortType net.java.games.input.Controller.PortType.SERIAL = new PortType("Serial port")
static

Serial port

final PortType net.java.games.input.Controller.PortType.UNKNOWN = new PortType("Unknown")
static

Unknown port type

final PortType net.java.games.input.Controller.PortType.USB = new PortType("USB port")
static

USB port