fixed typo that broke right stick on gamepads

This commit is contained in:
Diego Waxemberg
2013-12-20 23:30:31 -05:00
parent bef355487d
commit f3f52f9616

View File

@@ -142,7 +142,7 @@ public class Gamepad {
leftStickY = (short)Math.round(value * 0x7FFF);
break;
case RS_X:
leftStickX = (short)Math.round(value * 0x7FFF);
rightStickX = (short)Math.round(value * 0x7FFF);
break;
case RS_Y:
rightStickY = (short)Math.round(value * 0x7FFF);