diff options
author | pommicket <pommicket@gmail.com> | 2022-08-19 17:30:54 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-08-19 17:30:54 -0400 |
commit | b37150e7ae111808be79714eba52dad34b975689 (patch) | |
tree | 9501f5cbfaa1535e35bd71f1a7d4f72c0121dba6 /ted.h | |
parent | 81e1801ef0d61fe4e29db8b352b1fadff75503fb (diff) |
X1/X2 commands
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -113,7 +113,9 @@ ENUM_U8 { #define SYNTAX_LINK SYNTAX_CONSTANT // for markdown -#define SCANCODE_COUNT 0x120 // SDL scancodes should be less than this value. +#define SCANCODE_MOUSE_X1 (SDL_NUM_SCANCODES) +#define SCANCODE_MOUSE_X2 (SDL_NUM_SCANCODES+1) +#define SCANCODE_COUNT (SDL_NUM_SCANCODES+2) // a "key combo" is some subset of {control, shift, alt} + some key. #define KEY_COMBO_COUNT (SCANCODE_COUNT << 3) #define KEY_MODIFIER_CTRL_BIT 0 |