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 booleangetNextDeviceEvent(Event event) final Controller.PortTypeReturns the port type for this Controller.getType()Returns the type of the Controller.final voidMethods 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:
getNextDeviceEventin classAbstractController- Throws:
IOException
-
getPortType
Description copied from class:AbstractControllerReturns the port type for this Controller.- Specified by:
getPortTypein interfaceController- Overrides:
getPortTypein classAbstractController- Returns:
- PortType.UNKNOWN by default, can be overridden
-
pollDevice
- Overrides:
pollDevicein classAbstractController- Throws:
IOException
-
getType
Description copied from class:AbstractControllerReturns the type of the Controller.- Specified by:
getTypein interfaceController- Overrides:
getTypein classAbstractController
-