diff options
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -26,8 +26,15 @@ typedef enum { UIK_UNKNOWN } UiKey; +typedef enum { + UIM_ALT, + UIM_SHIFT, + UIM_CTRL, +} UiModMask; + typedef struct { UiKey key; + UiModMask mod; char str[16]; int strn; } UiKeyEvent; |
