Package net.java.games.input
Class LinuxCombinedController
java.lang.Object
net.java.games.input.AbstractController
net.java.games.input.LinuxCombinedController
- All Implemented Interfaces:
Controller
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.java.games.input.Controller
Controller.PortType, Controller.Type
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
getNextDeviceEvent
(Event event) final Controller.PortType
Returns the port type for this Controller.getType()
Returns the type of the Controller.final void
Methods inherited from class net.java.games.input.AbstractController
equals, getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getRumblers, poll, setDeviceEventQueueSize, setEventQueueSize, toString
-
Method Details
-
getNextDeviceEvent
- Specified by:
getNextDeviceEvent
in classAbstractController
- Throws:
IOException
-
getPortType
Description copied from class:AbstractController
Returns the port type for this Controller.- Specified by:
getPortType
in interfaceController
- Overrides:
getPortType
in classAbstractController
- Returns:
- PortType.UNKNOWN by default, can be overridden
-
pollDevice
- Overrides:
pollDevice
in classAbstractController
- Throws:
IOException
-
getType
Description copied from class:AbstractController
Returns the type of the Controller.- Specified by:
getType
in interfaceController
- Overrides:
getType
in classAbstractController
-