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 java.io.IOException
AbstractControllersetDeviceEventQueueSize in class AbstractControllerjava.io.IOExceptionpublic final void pollDevice()
throws java.io.IOException
pollDevice in class AbstractControllerjava.io.IOExceptionprotected final boolean getNextDeviceEvent(Event event) throws java.io.IOException
getNextDeviceEvent in class AbstractControllerjava.io.IOExceptionpublic Controller.Type getType()
AbstractControllergetType in interface ControllergetType in class AbstractController