Package | Description |
---|---|
net.java.games.input |
Top level package for JInput.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractController
An AbstractController is a skeleton implementation of a controller that
contains a fixed number of axes, controllers, and rumblers.
|
class |
Keyboard
A Keyboard is a type of controller consisting of a single controller,
they keypad, which contains several axes (the keys).
|
class |
LinuxCombinedController |
class |
Mouse
A Mouse is a type of controller consisting of two child controllers,
a ball and a button pad.
|
Modifier and Type | Method and Description |
---|---|
Controller |
ControllerEvent.getController()
Returns the controller for this event.
|
Controller[] |
LinuxEnvironmentPlugin.getControllers()
Returns a list of all controllers available to this environment,
or an empty array if there are no controllers in this environment.
|
Controller[] |
AWTEnvironmentPlugin.getControllers() |
Controller[] |
Controller.getControllers()
Returns the controllers connected to make up this controller, or
an empty array if this controller contains no child controllers.
|
Controller[] |
AbstractController.getControllers()
Returns the controllers connected to make up this controller, or
an empty array if this controller contains no child controllers.
|
abstract Controller[] |
ControllerEnvironment.getControllers()
Returns a list of all controllers available to this environment,
or an empty array if there are no controllers in this environment.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ControllerEnvironment.fireControllerAdded(Controller c)
Creates and sends an event to the controller listeners that a controller
has been added.
|
protected void |
ControllerEnvironment.fireControllerRemoved(Controller c)
Creates and sends an event to the controller listeners that a controller
has been lost.
|
Constructor and Description |
---|
AbstractController(String name,
Component[] components,
Controller[] children,
Rumbler[] rumblers)
Protected constructor for a controller containing the specified
axes, child controllers, and rumblers
|
ControllerEvent(Controller c)
Creates a controller event object.
|
Keyboard(String name,
Component[] keys,
Controller[] children,
Rumbler[] rumblers)
Protected constructor.
|
Mouse(String name,
Component[] components,
Controller[] children,
Rumbler[] rumblers) |
Copyright © 2018. All rights reserved.