final class LinuxMouse extends Mouse
Controller.PortType, Controller.Type
EVENT_QUEUE_DEPTH
Modifier | Constructor and Description |
---|---|
protected |
LinuxMouse(LinuxEventDevice device,
Component[] components,
Controller[] children,
Rumbler[] rumblers) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getNextDeviceEvent(Event event) |
Controller.PortType |
getPortType()
Returns the port type for this Controller.
|
void |
pollDevice() |
getBack, getButton3, getButton4, getExtra, getForward, getLeft, getMiddle, getPrimaryButton, getRight, getSecondaryButton, getSide, getTertiaryButton, getType, getWheel, getX, getY
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getRumblers, poll, setDeviceEventQueueSize, setEventQueueSize, toString
protected LinuxMouse(LinuxEventDevice device, Component[] components, Controller[] children, Rumbler[] rumblers) throws java.io.IOException
java.io.IOException
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