Package net.java.games.input
Class LinuxCombinedController
- java.lang.Object
-
- net.java.games.input.AbstractController
-
- net.java.games.input.LinuxCombinedController
-
- All Implemented Interfaces:
Controller
public class LinuxCombinedController extends AbstractController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.java.games.input.Controller
Controller.PortType, Controller.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetNextDeviceEvent(Event event)Controller.PortTypegetPortType()Returns the port type for this Controller.Controller.TypegetType()Returns the type of the Controller.voidpollDevice()-
Methods inherited from class net.java.games.input.AbstractController
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getRumblers, poll, setDeviceEventQueueSize, setEventQueueSize, toString
-
-
-
-
Method Detail
-
getNextDeviceEvent
protected boolean getNextDeviceEvent(Event event) throws java.io.IOException
- Specified by:
getNextDeviceEventin classAbstractController- Throws:
java.io.IOException
-
getPortType
public final Controller.PortType 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
public final void pollDevice() throws java.io.IOException- Overrides:
pollDevicein classAbstractController- Throws:
java.io.IOException
-
getType
public Controller.Type getType()
Description copied from class:AbstractControllerReturns the type of the Controller.- Specified by:
getTypein interfaceController- Overrides:
getTypein classAbstractController
-
-