fix physical mouse wheel direction
This commit is contained in:
1 parent
ee91177ca6
commit
b8a3aa5d8c
1 file changed
+1
@@ -836,6 +836,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
|
||||
{
|
||||
short translationDeltaY = currentScrollTranslation.y - lastScrollTranslation.y;
|
||||
translationDeltaY = -translationDeltaY;
|
||||
if (translationDeltaY != 0) {
|
||||
LiSendScrollEvent(translationDeltaY > 0 ? 1 : -1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user