From b8213276dcd67aafbff5ad2a16032a81bc134bc6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 19 Feb 2015 20:31:07 -0500 Subject: [PATCH] Fix analog stick axis overflow issue causing full positive axis input to invert on Xbox 360 controllers --- src/com/limelight/input/EvdevAbsolute.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/limelight/input/EvdevAbsolute.java b/src/com/limelight/input/EvdevAbsolute.java index 1801a39..a053cef 100644 --- a/src/com/limelight/input/EvdevAbsolute.java +++ b/src/com/limelight/input/EvdevAbsolute.java @@ -53,7 +53,9 @@ public class EvdevAbsolute { return reverse?Short.MAX_VALUE:Short.MIN_VALUE; else { value += value