|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.games.input.AbstractController
net.java.games.input.Mouse
net.java.games.input.LinuxMouse
final class LinuxMouse
Represents an OSX Mouse
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.java.games.input.Controller |
---|
Controller.PortType, Controller.Type |
Field Summary |
---|
Fields inherited from class net.java.games.input.AbstractController |
---|
EVENT_QUEUE_DEPTH |
Constructor Summary | |
---|---|
protected |
LinuxMouse(LinuxEventDevice device,
Component[] components,
Controller[] children,
Rumbler[] rumblers)
|
Method Summary | |
---|---|
protected boolean |
getNextDeviceEvent(Event event)
|
Controller.PortType |
getPortType()
Returns the port type for this Controller. |
void |
pollDevice()
|
Methods inherited from class net.java.games.input.Mouse |
---|
getBack, getButton3, getButton4, getExtra, getForward, getLeft, getMiddle, getPrimaryButton, getRight, getSecondaryButton, getSide, getTertiaryButton, getType, getWheel, getX, getY |
Methods inherited from class net.java.games.input.AbstractController |
---|
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getRumblers, poll, setDeviceEventQueueSize, setEventQueueSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected LinuxMouse(LinuxEventDevice device, Component[] components, Controller[] children, Rumbler[] rumblers) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public final Controller.PortType getPortType()
AbstractController
getPortType
in interface Controller
getPortType
in class AbstractController
public final void pollDevice() throws java.io.IOException
pollDevice
in class AbstractController
java.io.IOException
protected final boolean getNextDeviceEvent(Event event) throws java.io.IOException
getNextDeviceEvent
in class AbstractController
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |