commit 211d941e66e642f63e294b543529c30cc144abb7
parent f6627b09c02365fc4262c15be66d7f2a2b08c735
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 14 Jun 2013 01:18:32 -0700
Print modifier indices
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/xkb.c b/xkb.c
@@ -74,6 +74,9 @@ bool swc_xkb_update_keymap(struct swc_xkb * xkb)
xkb->indices.shift
= xkb_keymap_mod_get_index(xkb->keymap.map, XKB_MOD_NAME_SHIFT);
+ printf("indices { ctrl: %x, alt: %x, super: %x, shift: %x }\n",
+ xkb->indices.ctrl, xkb->indices.alt, xkb->indices.super, xkb->indices.shift);
+
/* Keymap string */
{
const char * keymap_directory = getenv("XDG_RUNTIME_DIR") ?: "/tmp";