From e55b4d12bb3380e4ba381f364dc06c06fb8fab60 Mon Sep 17 00:00:00 2001 From: katalx Date: Thu, 29 Jan 2026 03:27:59 -0500 Subject: UiModMask --- ui.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ui.h') 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; -- cgit v1.2.3