Logo Search packages:      
Sourcecode: jinput version File versions  Download package

net::java::games::input::RawMouse Class Reference

Inheritance diagram for net::java::games::input::RawMouse:

net::java::games::input::Mouse net::java::games::input::AbstractController net::java::games::input::Controller

List of all members.


Detailed Description

Author:
elias
Version:
1.0

Definition at line 47 of file RawMouse.java.


Public Member Functions

Component getBack ()
Component getButton3 ()
Component getButton4 ()
final Component getComponent (Component.Identifier id)
final Component[] getComponents ()
final Controller[] getControllers ()
final EventQueue getEventQueue ()
Component getExtra ()
Component getForward ()
Component getLeft ()
Component getMiddle ()
final String getName ()
int getPortNumber ()
PortType getPortType ()
Component getPrimaryButton ()
Component getRight ()
final Rumbler[] getRumblers ()
Component getSecondaryButton ()
Component getSide ()
Component getTertiaryButton ()
Type getType ()
Component getWheel ()
Component getX ()
Component getY ()
synchronized boolean poll ()
final void pollDevice () throws IOException
final void setEventQueueSize (int size)
String toString ()

Protected Member Functions

final synchronized boolean getNextDeviceEvent (Event event) throws IOException
 RawMouse (String name, RawDevice device, Component[] components, Controller[] children, Rumbler[] rumblers) throws IOException
final void setDeviceEventQueueSize (int size) throws IOException

Static Package Attributes

static final int EVENT_QUEUE_DEPTH = 32

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 RawMouseEvent current_event = new RawMouseEvent()
final RawDevice device
int event_state = EVENT_DONE

Static Private Attributes

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
static final int EVENT_DONE = 1
static final int EVENT_X = 2
static final int EVENT_Y = 3
static final int EVENT_Z = 4

Classes

class  Axis
class  Button

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index