Package net.java.games.input
Class LinuxEnvironmentPlugin
java.lang.Object
net.java.games.input.ControllerEnvironment
net.java.games.input.LinuxEnvironmentPlugin
- All Implemented Interfaces:
- Plugin
Environment plugin for linux
- 
Field SummaryFields inherited from class net.java.games.input.ControllerEnvironmentcontrollerListeners
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic final Objectexecute(net.java.games.input.LinuxDeviceTask task) final AbstractController[]Returns a list of all controllers available to this environment, or an empty array if there are no controllers in this environment.booleanReturns the isSupported status of this environment.final AbstractController[]Rescans the devices and provides a list of new controllers.Methods inherited from class net.java.games.input.ControllerEnvironmentaddControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
- 
Constructor Details- 
LinuxEnvironmentPluginpublic LinuxEnvironmentPlugin()
 
- 
- 
Method Details- 
execute- Throws:
- IOException
 
- 
getControllersReturns a list of all controllers available to this environment, or an empty array if there are no controllers in this environment.- Specified by:
- getControllersin class- ControllerEnvironment
- Returns:
- Returns a list of all controllers available to this environment, or an empty array if there are no controllers in this environment.
 
- 
rescanControllersDescription copied from class:ControllerEnvironmentRescans the devices and provides a list of new controllers.- Specified by:
- rescanControllersin class- ControllerEnvironment
- Returns:
- a list of all controllers available to this environment.
 
- 
isSupportedpublic boolean isSupported()Description copied from class:ControllerEnvironmentReturns the isSupported status of this environment. What makes an environment supported or not is up to the particular plugin, but may include OS or available hardware.- Specified by:
- isSupportedin class- ControllerEnvironment
 
 
-