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
This commit is contained in:
parent
4b4ae178e5
commit
c3549f42f6
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user