final class LinuxJoystickAbstractController extends AbstractController
Controller.PortType, Controller.TypeEVENT_QUEUE_DEPTH| Modifier | Constructor and Description |
|---|---|
protected |
LinuxJoystickAbstractController(LinuxJoystickDevice device,
Component[] components,
Controller[] children,
Rumbler[] rumblers) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getNextDeviceEvent(Event event) |
Controller.Type |
getType()
Returns the type of the Controller.
|
void |
pollDevice() |
protected void |
setDeviceEventQueueSize(int size)
Plugins override this method to adjust their internal event queue size
|
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getPortType, getRumblers, poll, setEventQueueSize, toStringprotected LinuxJoystickAbstractController(LinuxJoystickDevice device, Component[] components, Controller[] children, Rumbler[] rumblers)
protected final void setDeviceEventQueueSize(int size)
throws IOException
AbstractControllersetDeviceEventQueueSize in class AbstractControllerIOExceptionpublic final void pollDevice()
throws IOException
pollDevice in class AbstractControllerIOExceptionprotected final boolean getNextDeviceEvent(Event event) throws IOException
getNextDeviceEvent in class AbstractControllerIOExceptionpublic Controller.Type getType()
AbstractControllergetType in interface ControllergetType in class AbstractController