From ed1fd4a2538894a1bf8d6ade28d88a4da4a19f83 Mon Sep 17 00:00:00 2001 From: "Sha..rd" Date: Fri, 20 Jan 2012 03:09:22 +0000 Subject: [PATCH] * Try to fix the guys problem with the joystick git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java b/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java index 033f2367d..c6f112c1e 100644 --- a/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java +++ b/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;