From ea2db51bbb1ed64a8299d1953f4a9d2ff5f16f3b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 13 Apr 2021 10:21:26 +0530 Subject: [PATCH] Output all modifier indices in debug --- glfw/xkb_glfw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/xkb_glfw.c b/glfw/xkb_glfw.c index dbd5b6a0f..c46f91b99 100644 --- a/glfw/xkb_glfw.c +++ b/glfw/xkb_glfw.c @@ -370,8 +370,8 @@ glfw_xkb_update_masks(_GLFWXKBData *xkb) { S(super, XKB_MOD_NAME_LOGO); } #undef S - debug("Modifier indices alt:%u super:%u hyper:%u meta:%u numlock:%u\n", - xkb->altIdx, xkb->superIdx, xkb->hyperIdx, xkb->metaIdx, xkb->numLockIdx); + debug("Modifier indices alt: 0x%x super: 0x%x hyper: 0x%x meta: 0x%x numlock: 0x%x shift: 0x%x capslock: 0x%x\n", + xkb->altIdx, xkb->superIdx, xkb->hyperIdx, xkb->metaIdx, xkb->numLockIdx, xkb->shiftIdx, xkb->capsLockIdx); }