diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-18 20:54:07 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-18 20:54:07 -0500 |
commit | 8a4984e0e15fcfb0be6db242ab3f60325b80abd8 (patch) | |
tree | b71eb3ec8e715164a9347cb6ce7d6d83298309d0 /ted.h | |
parent | 530001a433c847b40d109d08cd8ff0958efdca1c (diff) |
bug fixes, narrow file list based on search term
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,9 +19,9 @@ typedef struct { #define KEY_MODIFIER_CTRL_BIT 0 #define KEY_MODIFIER_SHIFT_BIT 1 #define KEY_MODIFIER_ALT_BIT 2 -#define KEY_MODIFIER_CTRL (1<<KEY_MODIFIER_CTRL_BIT) -#define KEY_MODIFIER_SHIFT (1<<KEY_MODIFIER_SHIFT_BIT) -#define KEY_MODIFIER_ALT (1<<KEY_MODIFIER_ALT_BIT) +#define KEY_MODIFIER_CTRL ((u32)1<<KEY_MODIFIER_CTRL_BIT) +#define KEY_MODIFIER_SHIFT ((u32)1<<KEY_MODIFIER_SHIFT_BIT) +#define KEY_MODIFIER_ALT ((u32)1<<KEY_MODIFIER_ALT_BIT) // ctrl+alt+c is encoded as SDL_SCANCODE_C << 3 | KEY_MODIFIER_CTRL | KEY_MODIFIER_ALT typedef struct KeyAction { |