aboutsummaryrefslogtreecommitdiffstats
path: root/keys.h
diff options
context:
space:
mode:
authorverdant <i@glowisle.me>2026-05-20 00:00:41 +0800
committerverdant <i@glowisle.me>2026-05-20 00:00:41 +0800
commitc98f3ad99ecdd522cd5431eb2421a927a758b79d (patch)
tree9da95598e9d500484e05a113a8f6f7e4659f74d3 /keys.h
parent163f22d1d281b70a234cd231187aa0bcbb297f91 (diff)
downloadkl-c98f3ad99ecdd522cd5431eb2421a927a758b79d.tar.gz
kl-c98f3ad99ecdd522cd5431eb2421a927a758b79d.zip
New file: keys.h
Move *key_names and init_key_names() to here, add a new function and array for shifted keys
Diffstat (limited to 'keys.h')
-rw-r--r--keys.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keys.h b/keys.h
new file mode 100644
index 0000000..403848d
--- /dev/null
+++ b/keys.h
@@ -0,0 +1,11 @@
+#ifndef KL_KEYS_H
+#define KL_KEYS_H
+
+extern const char *key_names[256];
+extern const char *shifted_key_names[256];
+
+void init_key_names();
+
+void init_shifted_key_names();
+
+#endif