aboutsummaryrefslogtreecommitdiff
path: root/libs/libtxt/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libtxt/keymap.h')
-rw-r--r--libs/libtxt/keymap.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/libtxt/keymap.h b/libs/libtxt/keymap.h
new file mode 100644
index 0000000..9f1966e
--- /dev/null
+++ b/libs/libtxt/keymap.h
@@ -0,0 +1,16 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#ifndef KEYMAP_H
+#define KEYMAP_H
+
+#define KEYMAP_LENGTH 90
+
+struct keymap {
+ char map[KEYMAP_LENGTH];
+ char shift_map[KEYMAP_LENGTH];
+ char alt_map[KEYMAP_LENGTH];
+};
+
+struct keymap *keymap_parse(const char *path);
+
+#endif