From 90d416ab34d0b8e3fb2646b96ad782b35e51c38a Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 12 Dec 2021 16:28:21 -0600 Subject: [PATCH] Make GCMouse scroll direction consistent with UIPanGestureRecognizer --- Limelight/Input/ControllerSupport.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/Input/ControllerSupport.m b/Limelight/Input/ControllerSupport.m index e8ab1e7..bdc4623 100644 --- a/Limelight/Input/ControllerSupport.m +++ b/Limelight/Input/ControllerSupport.m @@ -439,7 +439,7 @@ static const double MOUSE_SPEED_DIVISOR = 2.5; // GCMouse for mice, so we will have to just use it and hope for the best. #if TARGET_OS_TV mouse.mouseInput.scroll.yAxis.valueChangedHandler = ^(GCControllerAxisInput * _Nonnull axis, float value) { - self->accumulatedScrollY += -value; + self->accumulatedScrollY += value; short truncatedScrollY = (short)self->accumulatedScrollY;