| Modifier and Type | Field and Description |
|---|---|
| private ArrayList | controllers
List of all controllers in this environment |
| pack-priv static String | |
| private Collection | |
| private static java. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Controller[] | getControllers()
Implements abstract net. |
| public boolean | isSupported()
Implements abstract net. |
| pack-priv static void | |
| private Void | |
| private void |
| controllers | back to summary |
|---|---|
| private ArrayList<Controller> controllers List of all controllers in this environment | |
| libPath | back to summary |
|---|---|
| pack-priv static String libPath | |
| loadedPluginNames | back to summary |
|---|---|
| private Collection<String> loadedPluginNames | |
| log | back to summary |
|---|---|
| private static java. | |
| DefaultControllerEnvironment | back to summary |
|---|---|
| public DefaultControllerEnvironment() Public no-arg constructor. | |
| addControllers | back to summary |
|---|---|
| private void addControllers(Controller[] c) Add the array of controllers to our list of controllers. | |
| getControllers | back to summary |
|---|---|
| public Controller[] getControllers() Implements abstract net. Returns a list of all controllers available to this environment, or an empty array if there are no controllers in this environment. | |
| isSupported | back to summary |
|---|---|
| public boolean isSupported() Implements abstract net. Doc from net. Returns 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. | |
| loadLibrary | back to summary |
|---|---|
| pack-priv static void loadLibrary(final String lib_name) Static utility method for loading native libraries. It will try to load from either the path given by the net.java.games.input.librarypath property or through System.loadLibrary(). | |
| scanControllers | back to summary |
|---|---|
| private Void scanControllers() | |
| scanControllersAt | back to summary |
|---|---|
| private void scanControllersAt(String path) | |