Browse Source

* Try to fix the guys problem with the joystick

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
Sha..rd 13 years ago
parent
commit
ed1fd4a253
1 changed files with 1 additions and 2 deletions
  1. 1 2
      engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java

+ 1 - 2
engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java

@@ -72,8 +72,7 @@ public class JInputJoyInput implements JoyInput {
         Controller[] cs = ce.getControllers();
         for (int i = 0; i < cs.length; i++){
             Controller c = cs[i];
-            if (c.getType() == Controller.Type.UNKNOWN
-             || c.getType() == Controller.Type.KEYBOARD
+            if (c.getType() == Controller.Type.KEYBOARD
              || c.getType() == Controller.Type.MOUSE)
                 continue;