aboutsummaryrefslogtreecommitdiff
path: root/dostsr.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-03 00:03:15 +0200
committerJavier <dev.git@javispedro.com>2022-04-03 00:03:15 +0200
commit7d93442564b57c2d292df7f823c2115d3e0b8c12 (patch)
tree6a7e31e172ced11dde78f1b0a1f38fa2ab252697 /dostsr.h
parent3ca7b6c9cc23e118968b49a79f2b64fe4a3b73b3 (diff)
downloadvbados-7d93442564b57c2d292df7f823c2115d3e0b8c12.tar.gz
vbados-7d93442564b57c2d292df7f823c2115d3e0b8c12.zip
complete wheel support
Diffstat (limited to 'dostsr.h')
-rw-r--r--dostsr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dostsr.h b/dostsr.h
index b9a5b73..e64c93e 100644
--- a/dostsr.h
+++ b/dostsr.h
@@ -114,6 +114,10 @@ typedef struct tsrdata {
uint16_t count;
} pressed, released;
} button[NUM_BUTTONS];
+ /** Total delta movement of the wheel since the last wheel report. */
+ int16_t wheel_delta;
+ /** Last position where the wheel was moved. */
+ struct point wheel_last;
// Cursor information
/** Whether the cursor is currently displayed or not. */