4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * Keyboard modifier state representation.
11 * Full author contact details are available in file CREDITS.
19 /// Set of KeyModifierFlags
20 typedef unsigned int KeyModifier;
22 /// modifier key states
23 enum KeyModifierFlags : unsigned int {
24 NoModifier = 0, //< no modifiers held
25 ControlModifier = 1 << 0, //< control button held
26 AltModifier = 1 << 1, //< alt key held
27 ShiftModifier = 1 << 2, //< shift key held
28 MetaModifier = 1 << 3 //< meta key held
33 #endif // KEYMODIFIER_H