From 076febba4f5e42604dac5eb46d7955a2e27c5dd5 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 5 Sep 2024 00:54:55 +0200 Subject: vbmouse: undo reversing horizontal wheel direction. it seems a virtualbox-only issue. --- mousetsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mousetsr.c b/mousetsr.c index cac1808..75fc769 100644 --- a/mousetsr.c +++ b/mousetsr.c @@ -768,7 +768,7 @@ static void handle_ps2_packet(void) z = sign_extend(data.ps2_packet[3], 6); } else if (data.ps2_packet[3] & PS2M_IMEX_HORIZONTAL_SCROLL) { // Horizontal scrolling, with 6 bits of precision. - z = -sign_extend(data.ps2_packet[3], 6); + z = sign_extend(data.ps2_packet[3], 6); wheeln = 1; } else { // Or 2 extra buttons (4, 5) -- cgit v1.2.3