Game Control Plus
1.2.2
|
Public Member Functions | |
final Controller[] | getControllers () |
Public Member Functions inherited from net.java.games.input.ControllerEnvironment | |
void | addControllerListener (ControllerListener l) |
void | removeControllerListener (ControllerListener l) |
Static Package Functions | |
[static initializer] | |
Static Package Functions inherited from net.java.games.input.ControllerEnvironment | |
static void | logln (String msg) |
static void | log (String msg) |
Static Private Member Functions | |
static final boolean | isMacOSXEqualsOrBetterThan (int major_required, int minor_required) |
static final void | addElements (OSXHIDQueue queue, List elements, List components, boolean map_mouse_buttons) throws IOException |
static final Keyboard | createKeyboardFromDevice (OSXHIDDevice device, List elements) throws IOException |
static final Mouse | createMouseFromDevice (OSXHIDDevice device, List elements) throws IOException |
static final AbstractController | createControllerFromDevice (OSXHIDDevice device, List elements, Controller.Type type) throws IOException |
static final void | createControllersFromDevice (OSXHIDDevice device, List controllers) throws IOException |
static final Controller[] | enumerateControllers () |
Private Attributes | |
final Controller[] | controllers |
Additional Inherited Members | |
Static Public Member Functions inherited from net.java.games.input.ControllerEnvironment | |
static ControllerEnvironment | getEnvironment () |
Protected Member Functions inherited from net.java.games.input.ControllerEnvironment | |
ControllerEnvironment () | |
void | fireControllerAdded (Controller c) |
void | fireControllerRemoved (Controller c) |
Protected Attributes inherited from net.java.games.input.ControllerEnvironment | |
final ArrayList | controllerListeners = new ArrayList() |
Static Protected Attributes inherited from net.java.games.input.ControllerEnvironment | |
static final byte | MACOSX = 0 |
static final byte | WINDOWS = 1 |
static final byte | LINUX = 2 |
static final byte | OTHER = 3 |
static final byte | os = getOS() |
static final byte | wordsize = getWordSize() |
OSX HIDManager implementation
|
virtual |
Returns a list of all controllers available to this environment, or an empty array if there are no controllers in this environment.
Implements net.java.games.input.ControllerEnvironment.