diff options
author | Javier <dev.git@javispedro.com> | 2024-09-05 00:54:55 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2024-09-05 00:54:55 +0200 |
commit | 076febba4f5e42604dac5eb46d7955a2e27c5dd5 (patch) | |
tree | a62efd8deccf72f434b6818aba4c9e798db6d8c9 | |
parent | 30c7e4b90d4944311d1e5df23482178cc5af102f (diff) | |
download | vbados-076febba4f5e42604dac5eb46d7955a2e27c5dd5.tar.gz vbados-076febba4f5e42604dac5eb46d7955a2e27c5dd5.zip |
vbmouse: undo reversing horizontal wheel direction. it seems a virtualbox-only issue.
-rw-r--r-- | mousetsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |