// -*- C++ -*-
/**
- * \file key_state.h
+ * \file KeyModifier.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
/// modifier key states
enum KeyModifier {
- NoModifier = 0, //< no modifiers held
+ NoModifier = 0, //< no modifiers held
ControlModifier = 1, //< control button held
- AltModifier = 2, //< alt/meta key held
- ShiftModifier = 4 //< shift key held
+ AltModifier = 2, //< alt key held
+ ShiftModifier = 4, //< shift key held
+ MetaModifier = 8 //< meta key held
};
} // namespace lyx
-#endif // KEY_STATE_H
+#endif // KEYMODIFIER_H