aboutsummaryrefslogtreecommitdiff
path: root/mousetsr.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-16 21:20:58 +0200
committerJavier <dev.git@javispedro.com>2022-04-16 21:20:58 +0200
commita9b39ab98821ecc77db643fb2a4556834c714328 (patch)
tree0510c7ab323701454d7ce915466b4cf71071a45c /mousetsr.h
parent9cf5dd38521565ff889dc6b07187742ac67a7454 (diff)
downloadvbados-a9b39ab98821ecc77db643fb2a4556834c714328.tar.gz
vbados-a9b39ab98821ecc77db643fb2a4556834c714328.zip
fix wheel on t5710
Diffstat (limited to 'mousetsr.h')
-rw-r--r--mousetsr.h7
1 files changed, 5 insertions, 2 deletions
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