diff options
author | endolf <[email protected]> | 2007-08-02 20:13:51 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2007-08-02 20:13:51 +0000 |
commit | eb1b5b0dbb319f96990a4dd91d2b5534c3d09f58 (patch) | |
tree | 961028e3cae07dfc0e2c4a325cf741671aed8961 | |
parent | 056cd6774a08cd0b86dd83e54e0f17060da34602 (diff) |
Tidy up
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@196 e343933a-64c8-49c5-92b1-88f2ce3e89e8
-rw-r--r-- | plugins/windows/src/java/net/java/games/input/DirectAndRawInputEnvironmentPlugin.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/windows/src/java/net/java/games/input/DirectAndRawInputEnvironmentPlugin.java b/plugins/windows/src/java/net/java/games/input/DirectAndRawInputEnvironmentPlugin.java index 29e2b40..c789986 100644 --- a/plugins/windows/src/java/net/java/games/input/DirectAndRawInputEnvironmentPlugin.java +++ b/plugins/windows/src/java/net/java/games/input/DirectAndRawInputEnvironmentPlugin.java @@ -26,9 +26,14 @@ package net.java.games.input; import java.util.ArrayList; -import java.util.Arrays; import java.util.List; +/** + * Combines the list of seperate keyboards and mice found with the raw plugin, + * with the game controllers found with direct input. + * + * @author Jeremy + */ public class DirectAndRawInputEnvironmentPlugin extends ControllerEnvironment { private RawInputEnvironmentPlugin rawPlugin; @@ -41,6 +46,9 @@ public class DirectAndRawInputEnvironmentPlugin extends ControllerEnvironment { rawPlugin = new RawInputEnvironmentPlugin(); } + /** + * @see net.java.games.input.ControllerEnvironment#getControllers() + */ public Controller[] getControllers() { if(controllers == null) { boolean rawKeyboardFound = false; @@ -76,6 +84,9 @@ public class DirectAndRawInputEnvironmentPlugin extends ControllerEnvironment { return controllers; } + /** + * @see net.java.games.input.ControllerEnvironment#isSupported() + */ public boolean isSupported() { return rawPlugin.isSupported() || dinputPlugin.isSupported(); } |