summaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorkatalx2026-01-29 03:27:59 -0500
committerkatalx2026-01-29 03:27:59 -0500
commite55b4d12bb3380e4ba381f364dc06c06fb8fab60 (patch)
tree77be55f3801a320ecef1a0b1db1a1b2012656d52 /ui.h
parentc49f2f94c2303091e736f6f5ddec7631f9151af4 (diff)
UiModMask
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 9a80a35..2a6afc5 100644
--- a/ui.h
+++ b/ui.h
@@ -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;