aboutsummaryrefslogtreecommitdiff
path: root/libs/libtxt/keymap.h
diff options
context:
space:
mode:
authorMarvin Borner2021-03-26 21:55:50 +0100
committerMarvin Borner2021-03-26 22:02:20 +0100
commit05498860e8f7b1e8bb27880bc7526de026694804 (patch)
tree3bddf16e9439a950a3810d45e42a5cefdbcb7663 /libs/libtxt/keymap.h
parenta96e9c4c858d47f61b89d879aa0ce6a02bdacb38 (diff)
Renamed libs
Cleaner and more flexible.
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