aboutsummaryrefslogtreecommitdiff
path: root/dostsr.h
diff options
context:
space:
mode:
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. */