diff options
author | Javier <dev.git@javispedro.com> | 2022-04-03 00:03:15 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-03 00:03:15 +0200 |
commit | 7d93442564b57c2d292df7f823c2115d3e0b8c12 (patch) | |
tree | 6a7e31e172ced11dde78f1b0a1f38fa2ab252697 /dostsr.h | |
parent | 3ca7b6c9cc23e118968b49a79f2b64fe4a3b73b3 (diff) | |
download | vbados-7d93442564b57c2d292df7f823c2115d3e0b8c12.tar.gz vbados-7d93442564b57c2d292df7f823c2115d3e0b8c12.zip |
complete wheel support
Diffstat (limited to 'dostsr.h')
-rw-r--r-- | dostsr.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. */ |