[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

@@ -20,7 +20,8 @@
#include <stdbool.h>
#include <stdatomic.h>
#include <linux/input.h>
#include "input/keycodes.h"
#include "dynamic/displayservers.h"
#include "dynamic/renderers.h"
@@ -130,8 +131,8 @@ struct AppState
bool escapeActive;
uint64_t escapeTime;
int escapeAction;
bool escapeKeys[KEY_MAX];
bool escapeShiftKeys[KEY_MAX];
bool escapeKeys[LG_KEY_MAX];
bool escapeShiftKeys[LG_KEY_MAX];
atomic_uint keyModifiers;
bool escapeHelp;
struct ll * bindings;