final class LinuxAbstractController extends AbstractController
Controller.PortType, Controller.TypeEVENT_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, toStringprotected LinuxAbstractController(LinuxEventDevice device, Component[] components, Controller[] children, Rumbler[] rumblers, Controller.Type type)
public final Controller.PortType getPortType()
AbstractControllergetPortType in interface ControllergetPortType in class AbstractControllerpublic 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