| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Controller
A Controller represents a physical device, such as a keyboard, mouse, or joystick, or a logical grouping of related controls, such as a button pad or mouse ball. A controller can be composed of multiple controllers. For example, the ball of a mouse and its buttons are two separate controllers.
| Nested Class Summary | |
|---|---|
| static class | Controller.PortTypeCommon controller port types. | 
| static class | Controller.TypeTypes of controller objects. | 
| Method Summary | |
|---|---|
|  Component | getComponent(Component.Identifier id)Returns a single axis based on its type, or null if no axis with the specified type could be found. | 
|  Component[] | getComponents()Returns the components on this controller, in order of assignment priority. | 
|  Controller[] | getControllers()Returns the controllers connected to make up this controller, or an empty array if this controller contains no child controllers. | 
|  EventQueue | getEventQueue()Get the device event queue | 
|  java.lang.String | getName()Returns a human-readable name for this Controller. | 
|  int | getPortNumber()Returns the zero-based port number for this Controller. | 
|  Controller.PortType | getPortType()Returns the port type for this Controller. | 
|  Rumbler[] | getRumblers()Returns the rumblers for sending feedback to this controller, or an empty array if there are no rumblers on this controller. | 
|  Controller.Type | getType()Returns the type of the Controller. | 
|  boolean | poll()Polls axes for data. | 
|  void | setEventQueueSize(int size)Initialized the controller event queue to a new size. | 
| Method Detail | 
|---|
Controller[] getControllers()
Controller.Type getType()
Component[] getComponents()
Component getComponent(Component.Identifier id)
Rumbler[] getRumblers()
boolean poll()
void setEventQueueSize(int size)
EventQueue getEventQueue()
Controller.PortType getPortType()
int getPortNumber()
java.lang.String getName()
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||