summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xkbcommon/xkbcommon.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h
index 48a0e48..cdf0d7c 100644
--- a/include/xkbcommon/xkbcommon.h
+++ b/include/xkbcommon/xkbcommon.h
@@ -354,18 +354,18 @@ xkb_state_update_key(struct xkb_state *state, xkb_keycode_t key,
* locked modifiers.
*/
enum xkb_state_component {
+ /** A key holding this modifier or group is currently physically
+ * depressed; also known as 'base'. */
XKB_STATE_DEPRESSED = (1 << 0),
- /**< A key holding this modifier or group is currently physically
- * depressed; also known as 'base'. */
+ /** Modifier or group is latched, i.e. will be unset after the next
+ * non-modifier key press. */
XKB_STATE_LATCHED = (1 << 1),
- /**< Modifier or group is latched, i.e. will be unset after the next
- * non-modifier key press. */
+ /** Modifier or group is locked, i.e. will be unset after the key
+ * provoking the lock has been pressed again. */
XKB_STATE_LOCKED = (1 << 2),
- /**< Modifier or group is locked, i.e. will be unset after the key
- * provoking the lock has been pressed again. */
+ /** Combinatination of depressed, latched, and locked. */
XKB_STATE_EFFECTIVE =
(XKB_STATE_DEPRESSED | XKB_STATE_LATCHED | XKB_STATE_LOCKED),
- /**< Combinatination of depressed, latched, and locked. */
};
/**