From 193393a158a6d199e01a68f39cff55f916901337 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 11 Sep 2019 18:42:44 +0300 Subject: [PATCH] Add modifier state enum This was supposed to be in 6e5db3e --- source/inputmethod.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/inputmethod.h b/source/inputmethod.h index 4410075..5d41f0a 100644 --- a/source/inputmethod.h +++ b/source/inputmethod.h @@ -13,6 +13,14 @@ enum InputType INPUT_TEXT }; +enum Modifier +{ + MOD_NONE = 0, + MOD_SHIFT = 1, + MOD_CTRL = 2, + MOD_ALT = 4 +}; + enum Navigation { NAV_LEFT, -- 2.45.2