[client] input: add platform-neutral keycodes

This commit is contained in:
Geoffrey McRae
2026-09-12 10:12:18 +10:00
parent 382f35e503
commit 7ea69f3d1c
26 changed files with 1412 additions and 1000 deletions

View File

@@ -55,6 +55,11 @@
#define EVDEV_WHEEL_LIMIT 64
#define EVDEV_GUEST_LEDS_VALID UINT8_C(0x80)
_Static_assert((int)LG_KEY_RESERVED == KEY_RESERVED,
"Looking Glass and evdev reserved keycodes differ");
_Static_assert((int)LG_KEY_MAX == KEY_MAX,
"Looking Glass and evdev maximum keycodes differ");
enum EvdevGrabReason
{
EVDEV_GRAB_KEYBOARD = 1 << 0,