From f3f52f96165d7af73bd7a0ca92dad7a66151c286 Mon Sep 17 00:00:00 2001 From: Diego Waxemberg Date: Fri, 20 Dec 2013 23:30:31 -0500 Subject: [PATCH] fixed typo that broke right stick on gamepads --- src/com/limelight/input/Gamepad.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/limelight/input/Gamepad.java b/src/com/limelight/input/Gamepad.java index 5e1208c..69c5e95 100644 --- a/src/com/limelight/input/Gamepad.java +++ b/src/com/limelight/input/Gamepad.java @@ -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);