Go back to UIPanGestureRecognizer for all scroll events

GCMouse is broken in iPad 15 for mice with discrete scroll wheel events
This commit is contained in:
Cameron Gutman committed 2021-10-05 21:42:37 -05:00
1 parent c930a4656a
commit d7cf8ced25
2 files changed
-20

No files matched your search

-13
View File
@@ -432,19 +432,6 @@ static const double MOUSE_SPEED_DIVISOR = 2.5;
};
}
}
// TODO: Confirm scroll direction
mouse.mouseInput.scroll.yAxis.valueChangedHandler = ^(GCControllerAxisInput * _Nonnull axis, float value) {
self->accumulatedScrollY += -value;
short truncatedScrollY = (short)self->accumulatedScrollY;
if (truncatedScrollY != 0) {
LiSendHighResScrollEvent(truncatedScrollY);
self->accumulatedScrollY -= truncatedScrollY;
}
};
}
-(void) updateAutoOnScreenControlMode