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

Public Member Functions

final PortType getPortType ()
 
final void pollDevice () throws IOException
 
- Public Member Functions inherited from net.java.games.input.Keyboard
Type getType ()
 
final boolean isKeyDown (Component.Identifier.Key key_id)
 
- 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

 LinuxKeyboard (LinuxEventDevice device, Component[] components, Controller[] children, Rumbler[] rumblers) throws IOException
 
final boolean getNextDeviceEvent (Event event) throws IOException
 
- Protected Member Functions inherited from net.java.games.input.Keyboard
 Keyboard (String name, Component[] keys, Controller[] children, Rumbler[] rumblers)
 
- 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
 

Additional Inherited Members

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

Detailed Description

Represents an OSX Keyboard

Author
elias
Version
1.0

Member Function Documentation

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

Returns the port type for this Controller.

Returns
PortType.UNKNOWN by default, can be overridden

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