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

Public Member Functions

final PortType getPortType ()
 
final void pollDevice () throws IOException
 
- Public Member Functions inherited from net.java.games.input.Mouse
Type getType ()
 
Component getX ()
 
Component getY ()
 
Component getWheel ()
 
Component getLeft ()
 
Component getRight ()
 
Component getMiddle ()
 
Component getSide ()
 
Component getExtra ()
 
Component getForward ()
 
Component getBack ()
 
- 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

 LinuxMouse (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.Mouse
 Mouse (String name, Component[] components, 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 Mouse

Author
elias
Version
1.0

Member Function Documentation

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

Returns the port type for this Controller.

Returns
PortType.UNKNOWN by default, can be overridden

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