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

Classes

class  Axis
 
class  Button
 

Public Member Functions

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 ()
 
PortType getPortType ()
 
int getPortNumber ()
 
final String getName ()
 
String toString ()
 
final void setEventQueueSize (int size)
 
final EventQueue getEventQueue ()
 
synchronized boolean poll ()
 

Protected Member Functions

 RawMouse (String name, RawDevice device, Component[] components, Controller[] children, Rumbler[] rumblers) throws IOException
 
final synchronized boolean getNextDeviceEvent (Event event) throws IOException
 
final void setDeviceEventQueueSize (int size) 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
 

Static Private Member Functions

static final boolean makeButtonEvent (RawMouseEvent mouse_event, Event event, Component button_component, int down_flag, int up_flag)
 

Private Attributes

final RawDevice device
 
final RawMouseEvent current_event = new RawMouseEvent()
 
int event_state = EVENT_DONE
 

Static Private Attributes

static final int EVENT_DONE = 1
 
static final int EVENT_X = 2
 
static final int EVENT_Y = 3
 
static final int EVENT_Z = 4
 
static final int EVENT_BUTTON_0 = 5
 
static final int EVENT_BUTTON_1 = 6
 
static final int EVENT_BUTTON_2 = 7
 
static final int EVENT_BUTTON_3 = 8
 
static final int EVENT_BUTTON_4 = 9
 

Additional Inherited Members

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

Detailed Description

Author
elias
Version
1.0