From c3549f42f6fbcc78e5f62c6d83535265087b2f00 Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Tue, 25 Sep 2012 06:33:26 +0000 Subject: [PATCH] Fixed a bug in how POV.DOWN_RIGHT was reported... it was actually sending events as if it was UP_LEFT. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9775 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java b/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java index 8125c691c..2062a3f38 100644 --- a/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java +++ b/engine/src/lwjgl/com/jme3/input/lwjgl/JInputJoyInput.java @@ -118,7 +118,7 @@ public class JInputJoyInput implements JoyInput { }else if (v == POV.DOWN_LEFT){ x = -1f; y = -1f; }else if (v == POV.DOWN_RIGHT){ - x = -1f; y = 1f; + x = 1f; y = -1f; }else if (v == POV.LEFT){ x = -1f; y = 0; }else if (v == POV.RIGHT){