summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-09-11 12:20:21 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-11 12:20:21 +0100
commited9fd5beb001c30c7292e9a31d7ebccd4e91a973 (patch)
treeea6aabc0a847f989fbc2cf41195b78add8651b20 /src/text.c
parent6573aca0b26b50009f00ccf7673406ee1aa3943c (diff)
kbproto unentanglement: control actions
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/text.c b/src/text.c
index 2422e02..e2e1268 100644
--- a/src/text.c
+++ b/src/text.c
@@ -58,20 +58,20 @@ LookupValue(const LookupEntry tab[], unsigned int value)
}
const LookupEntry ctrlMaskNames[] = {
- { "RepeatKeys", XkbRepeatKeysMask },
- { "Repeat", XkbRepeatKeysMask },
- { "AutoRepeat", XkbRepeatKeysMask },
- { "SlowKeys", XkbSlowKeysMask },
- { "BounceKeys", XkbBounceKeysMask },
- { "StickyKeys", XkbStickyKeysMask },
- { "MouseKeys", XkbMouseKeysMask },
- { "MouseKeysAccel", XkbMouseKeysAccelMask },
- { "AccessXKeys", XkbAccessXKeysMask },
- { "AccessXTimeout", XkbAccessXTimeoutMask },
- { "AccessXFeedback", XkbAccessXFeedbackMask },
- { "AudibleBell", XkbAudibleBellMask },
- { "IgnoreGroupLock", XkbIgnoreGroupLockMask },
- { "all", XkbAllBooleanCtrlsMask },
+ { "RepeatKeys", CONTROL_REPEAT },
+ { "Repeat", CONTROL_REPEAT },
+ { "AutoRepeat", CONTROL_REPEAT },
+ { "SlowKeys", CONTROL_SLOW },
+ { "BounceKeys", CONTROL_DEBOUNCE },
+ { "StickyKeys", CONTROL_STICKY },
+ { "MouseKeys", CONTROL_MOUSEKEYS },
+ { "MouseKeysAccel", CONTROL_MOUSEKEYS_ACCEL },
+ { "AccessXKeys", CONTROL_AX },
+ { "AccessXTimeout", CONTROL_AX_TIMEOUT },
+ { "AccessXFeedback", CONTROL_AX_FEEDBACK },
+ { "AudibleBell", CONTROL_BELL },
+ { "IgnoreGroupLock", CONTROL_IGNORE_GROUP_LOCK },
+ { "all", CONTROL_ALL },
{ "none", 0 },
{ "Overlay1", 0 },
{ "Overlay2", 0 },