From: Mikko Rasa Date: Wed, 11 Sep 2019 15:42:44 +0000 (+0300) Subject: Add modifier state enum X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=193393a158a6d199e01a68f39cff55f916901337;p=libs%2Fgltk.git Add modifier state enum This was supposed to be in 6e5db3e --- 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,