diff options
| author | Javier <dev.git@javispedro.com> | 2026-03-01 18:00:45 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-03-01 18:00:45 +0100 |
| commit | 0c2b1b6a5d80f2dd5f03e73efa52d6a921f1f98c (patch) | |
| tree | bdbb136ca398ed75d3601725331086bbd92eeb9c /mousetsr.h | |
| parent | 58fe8e22096863f86b2916dd388401f7afc1d26c (diff) | |
| download | vbados-0c2b1b6a5d80f2dd5f03e73efa52d6a921f1f98c.tar.gz vbados-0c2b1b6a5d80f2dd5f03e73efa52d6a921f1f98c.zip | |
Diffstat (limited to 'mousetsr.h')
| -rw-r--r-- | mousetsr.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -90,6 +90,11 @@ struct point { int16_t x, y; }; +enum { + WHEEL_DIR_UP, + WHEEL_DIR_DOWN +}; + typedef struct tsrdata { // TSR installation data /** Previous int33 ISR, storing it for uninstall. */ @@ -101,8 +106,8 @@ typedef struct tsrdata { #if USE_WHEEL /** Whether to enable & use wheel mouse. */ bool usewheel; - /** Key (scancode) to generate on wheel scroll up/down, or 0 for none. */ - uint8_t wheel_up_key, wheel_down_key; + /** Scancode to generate on wheel N scroll up [N][0] or down [N][1]. 0 for none. */ + uint8_t wheel_key[MAX_WHEELS][2]; #endif // Video settings |
