net.java.games.input
public final class LinuxEnvironmentPlugin extends ControllerEnvironment implements net.java.games.util.plugins.Plugin
controllerListeners
Constructor and Description |
---|
LinuxEnvironmentPlugin() |
Modifier and Type | Method and Description |
---|---|
static Object |
execute(net.java.games.input.LinuxDeviceTask task) |
Controller[] |
getControllers()
Returns a list of all controllers available to this environment,
or an empty array if there are no controllers in this environment.
|
boolean |
isSupported()
Returns the isSupported status of this environment.
|
addControllerListener, fireControllerAdded, fireControllerRemoved, getDefaultEnvironment, removeControllerListener
public static final Object execute(net.java.games.input.LinuxDeviceTask task) throws IOException
IOException
public final Controller[] getControllers()
getControllers
in class ControllerEnvironment
public boolean isSupported()
ControllerEnvironment
isSupported
in class ControllerEnvironment