* Try to fix the guys problem with the joystick

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..rd 13 years ago
parent 33b6bcb20c
commit ed1fd4a253
  1. 3
      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;

Loading…
Cancel
Save