final class LinuxAbstractController extends AbstractController
Controller.PortType, Controller.Type
EVENT_QUEUE_DEPTH
Modifier | Constructor and Description |
---|---|
protected |
LinuxAbstractController(LinuxEventDevice device,
Component[] components,
Controller[] children,
Rumbler[] rumblers,
Controller.Type type) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getNextDeviceEvent(Event event) |
Controller.PortType |
getPortType()
Returns the port type for this Controller.
|
Controller.Type |
getType()
Returns the type of the Controller.
|
void |
pollDevice() |
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getRumblers, poll, setDeviceEventQueueSize, setEventQueueSize, toString
protected LinuxAbstractController(LinuxEventDevice device, Component[] components, Controller[] children, Rumbler[] rumblers, Controller.Type type)
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
public Controller.Type getType()
AbstractController
getType
in interface Controller
getType
in class AbstractController