diff --git a/Limelight/Input/ControllerSupport.m b/Limelight/Input/ControllerSupport.m index bdc4623..f5f6ffa 100644 --- a/Limelight/Input/ControllerSupport.m +++ b/Limelight/Input/ControllerSupport.m @@ -444,7 +444,7 @@ static const double MOUSE_SPEED_DIVISOR = 2.5; short truncatedScrollY = (short)self->accumulatedScrollY; if (truncatedScrollY != 0) { - LiSendHighResScrollEvent(truncatedScrollY); + LiSendHighResScrollEvent(truncatedScrollY * 20); self->accumulatedScrollY -= truncatedScrollY; } diff --git a/Limelight/Input/RelativeTouchHandler.m b/Limelight/Input/RelativeTouchHandler.m index c1d91e6..3438a18 100644 --- a/Limelight/Input/RelativeTouchHandler.m +++ b/Limelight/Input/RelativeTouchHandler.m @@ -106,7 +106,7 @@ static const int REFERENCE_HEIGHT = 720; CGPoint avgLocation = CGPointMake((firstLocation.x + secondLocation.x) / 2, (firstLocation.y + secondLocation.y) / 2); if (touchLocation.y != avgLocation.y) { - LiSendHighResScrollEvent(avgLocation.y - touchLocation.y); + LiSendHighResScrollEvent((avgLocation.y - touchLocation.y) * 10); } // If we've moved far enough to confirm this wasn't just human/machine error, diff --git a/Limelight/Input/StreamView.m b/Limelight/Input/StreamView.m index f90cdf7..5e6243b 100644 --- a/Limelight/Input/StreamView.m +++ b/Limelight/Input/StreamView.m @@ -471,7 +471,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5; CGPoint currentScrollTranslation = [gesture translationInView:self]; short translationDeltaY = ((currentScrollTranslation.y - lastScrollTranslation.y) / self.bounds.size.height) * 120; // WHEEL_DELTA if (translationDeltaY != 0) { - LiSendHighResScrollEvent(translationDeltaY); + LiSendHighResScrollEvent(translationDeltaY * 20); lastScrollTranslation = currentScrollTranslation; } } diff --git a/moonlight-common/moonlight-common-c b/moonlight-common/moonlight-common-c index a290ec0..6001ece 160000 --- a/moonlight-common/moonlight-common-c +++ b/moonlight-common/moonlight-common-c @@ -1 +1 @@ -Subproject commit a290ec032b6a068a56461bbe4b60798b68a319d5 +Subproject commit 6001ece0b8bfcea6a8122a3e56f48f515e1aaaf5