diff options
author | Javier <dev.git@javispedro.com> | 2022-04-16 21:20:58 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-16 21:20:58 +0200 |
commit | a9b39ab98821ecc77db643fb2a4556834c714328 (patch) | |
tree | 0510c7ab323701454d7ce915466b4cf71071a45c /mousetsr.h | |
parent | 9cf5dd38521565ff889dc6b07187742ac67a7454 (diff) | |
download | vbados-a9b39ab98821ecc77db643fb2a4556834c714328.tar.gz vbados-a9b39ab98821ecc77db643fb2a4556834c714328.zip |
fix wheel on t5710
Diffstat (limited to 'mousetsr.h')
-rw-r--r-- | mousetsr.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |