diff options
author | endolf <[email protected]> | 2009-10-03 20:20:27 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2009-10-03 20:20:27 +0000 |
commit | 6493ba6bc7e9900a5738c3f0f5e4c10795e4cd1e (patch) | |
tree | 7a722a873123920e536cd9b57cb05f2730302ccb | |
parent | 1766ed9b4b99f7a9188f7a9d5ac9717d0c805a15 (diff) |
Recognise windows 7
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@228 e343933a-64c8-49c5-92b1-88f2ce3e89e8
-rw-r--r-- | coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java b/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java index e2e890b..93db7c7 100644 --- a/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java +++ b/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java @@ -133,7 +133,7 @@ class DefaultControllerEnvironment extends ControllerEnvironment { pluginClasses = pluginClasses + " net.java.games.input.LinuxEnvironmentPlugin"; } else if(osName.equals("Mac OS X")) { pluginClasses = pluginClasses + " net.java.games.input.OSXEnvironmentPlugin"; - } else if(osName.equals("Windows XP") || osName.equals("Windows Vista")) { + } else if(osName.equals("Windows XP") || osName.equals("Windows Vista") || osName.equals("Windows 7")) { pluginClasses = pluginClasses + " net.java.games.input.DirectAndRawInputEnvironmentPlugin"; } else if(osName.equals("Windows 98") || osName.equals("Windows 2000")) { pluginClasses = pluginClasses + " net.java.games.input.DirectInputEnvironmentPlugin"; |