]> git.tdb.fi Git - libs/gltk.git/commitdiff
Add modifier state enum
authorMikko Rasa <tdb@tdb.fi>
Wed, 11 Sep 2019 15:42:44 +0000 (18:42 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 11 Sep 2019 15:42:44 +0000 (18:42 +0300)
This was supposed to be in 6e5db3e

source/inputmethod.h

index 441007568dd99644926dcae874bd6c43744d6895..5d41f0a750991dddc157863bc501e3f3204179e3 100644 (file)
@@ -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,