From a9b39ab98821ecc77db643fb2a4556834c714328 Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 16 Apr 2022 21:20:58 +0200 Subject: fix wheel on t5710 --- mousetsr.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mousetsr.h') diff --git a/mousetsr.h b/mousetsr.h index 0bb234f..00646db 100644 --- a/mousetsr.h +++ b/mousetsr.h @@ -37,7 +37,7 @@ /** Enable the wheel. */ #define USE_WHEEL 1 /** Trace events verbosily */ -#define TRACE_EVENTS 1 +#define TRACE_EVENTS 0 #define VERSION_MAJOR 0 #define VERSION_MINOR 5 @@ -102,7 +102,10 @@ typedef struct tsrdata { // Detected mouse hardware #if USE_WHEEL /** Whether the current mouse has a wheel (and support is enabled). */ - bool haswheel; + bool haswheel : 1; + /** Whether the current PS/2 BIOS seems to be putting the first packet + * on the high byte of the first word when we use wheel mouse. */ + bool bios_x_on_status : 1; #endif // Current mouse settings -- cgit v1.2.3