diff options
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 |
