test/common: print keycode in decimal not hex
Keycodes are usually written in decimal, so hex is hard to compare. Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
ca58937da3
commit
74482de623
|
@ -83,7 +83,7 @@ test_key_seq_va(struct xkb_keymap *keymap, va_list ap)
|
|||
syms = &sym;
|
||||
}
|
||||
|
||||
fprintf(stderr, "got %u syms for key 0x%x: [", nsyms, kc);
|
||||
fprintf(stderr, "got %u syms for keycode %u: [", nsyms, kc);
|
||||
|
||||
if (op == DOWN || op == BOTH)
|
||||
xkb_state_update_key(state, kc, XKB_KEY_DOWN);
|
||||
|
|
Loading…
Reference in New Issue