commit 211d941
Michael Forney
·
2013-06-14 08:18:32 +0000 UTC
parent f6627b0
Print modifier indices
1 files changed,
+3,
-0
M
xkb.c
M
xkb.c
+3,
-0
1@@ -74,6 +74,9 @@ bool swc_xkb_update_keymap(struct swc_xkb * xkb)
2 xkb->indices.shift
3 = xkb_keymap_mod_get_index(xkb->keymap.map, XKB_MOD_NAME_SHIFT);
4
5+ printf("indices { ctrl: %x, alt: %x, super: %x, shift: %x }\n",
6+ xkb->indices.ctrl, xkb->indices.alt, xkb->indices.super, xkb->indices.shift);
7+
8 /* Keymap string */
9 {
10 const char * keymap_directory = getenv("XDG_RUNTIME_DIR") ?: "/tmp";