Output all modifier indices in debug

This commit is contained in:
Kovid Goyal 2021-04-13 10:21:26 +05:30
parent 15f4c476c3
commit ea2db51bbb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

4
glfw/xkb_glfw.c vendored
View File

@ -370,8 +370,8 @@ glfw_xkb_update_masks(_GLFWXKBData *xkb) {
S(super, XKB_MOD_NAME_LOGO); S(super, XKB_MOD_NAME_LOGO);
} }
#undef S #undef S
debug("Modifier indices alt:%u super:%u hyper:%u meta:%u numlock:%u\n", 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->altIdx, xkb->superIdx, xkb->hyperIdx, xkb->metaIdx, xkb->numLockIdx, xkb->shiftIdx, xkb->capsLockIdx);
} }