Fix scroll speed on recent GFE versions

This commit is contained in:
Cameron Gutman committed 2021-12-12 16:33:19 -06:00
1 parent 90d416ab34
commit eccf517dc3
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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,