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
| Methods inherited from class net.java.games.input.AbstractController |
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getRumblers, poll, setDeviceEventQueueSize, setEventQueueSize, toString |
getNextDeviceEvent
protected boolean getNextDeviceEvent(Event event)
throws IOException
- Specified by:
getNextDeviceEvent in class AbstractController
- Throws:
IOException
getPortType
public final Controller.PortType getPortType()
- Description copied from class:
AbstractController
- Returns the port type for this Controller.
- Specified by:
getPortType in interface Controller- Overrides:
getPortType in class AbstractController
- Returns:
- PortType.UNKNOWN by default, can be overridden
pollDevice
public final void pollDevice()
throws IOException
- Overrides:
pollDevice in class AbstractController
- Throws:
IOException
getType
public Controller.Type getType()
- Description copied from class:
AbstractController
- Returns the type of the Controller.
- Specified by:
getType in interface Controller- Overrides:
getType in class AbstractController