Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.LinuxAbstractController Class Reference
Inheritance diagram for net.java.games.input.LinuxAbstractController:

Public Member Functions

final PortType getPortType ()
 
final void pollDevice () throws IOException
 
Type getType ()
 
- Public Member Functions inherited from net.java.games.input.AbstractController
final Controller[] getControllers ()
 
final Component[] getComponents ()
 
final Component getComponent (Component.Identifier id)
 
final Rumbler[] getRumblers ()
 
int getPortNumber ()
 
final String getName ()
 
String toString ()
 
final void setEventQueueSize (int size)
 
final EventQueue getEventQueue ()
 
synchronized boolean poll ()
 

Protected Member Functions

 LinuxAbstractController (LinuxEventDevice device, Component[] components, Controller[] children, Rumbler[] rumblers, Type type) throws IOException
 
final boolean getNextDeviceEvent (Event event) throws IOException
 
- Protected Member Functions inherited from net.java.games.input.AbstractController
 AbstractController (String name, Component[] components, Controller[] children, Rumbler[] rumblers)
 
void setDeviceEventQueueSize (int size) throws IOException
 
void pollDevice () throws IOException
 

Private Attributes

final PortType port
 
final LinuxEventDevice device
 
final Type type
 

Additional Inherited Members

- Static Package Attributes inherited from net.java.games.input.AbstractController
static final int EVENT_QUEUE_DEPTH = 32
 

Detailed Description

Represents a Linux controller

Author
elias
Version
1.0

Member Function Documentation

final PortType net.java.games.input.LinuxAbstractController.getPortType ( )
virtual

Returns the port type for this Controller.

Returns
PortType.UNKNOWN by default, can be overridden

Reimplemented from net.java.games.input.AbstractController.

Type net.java.games.input.LinuxAbstractController.getType ( )
virtual

Returns the type of the Controller.

Reimplemented from net.java.games.input.AbstractController.