lirent 17ad439b9b feat(input): map the keypad (numpad) keys
VMCTL_KEYS carried only NumLock, not the keypad block — so any keypad evdev
code sent in CMD_INPUT{KEY} was dropped on both paths: uinput device A never
declared the keybit, and the QMP qcode lookup returned NULL.

Add the full keypad in sorted evdev positions (the table is bsearch'd):
kp_0..kp_9, kp_add/subtract/multiply/divide, kp_enter, kp_decimal, kp_equals,
kp_comma. Both the uinput keybits and the QMP qcodes derive from this one
table, so both paths pick the keys up.

Add test_keymap pinning the strictly-ascending-by-evdev invariant (bsearch
precondition + no duplicates) and the keypad lookup.

Bump 0.3.13.
2026-06-26 02:10:58 +03:00
S
Description
No description provided
544 KiB
Languages
C 96.5%
CMake 2.7%
Makefile 0.5%
Shell 0.3%