aboutsummaryrefslogtreecommitdiff
path: root/libtxt/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-09-15 22:30:45 +0200
committerMarvin Borner2020-09-15 22:30:45 +0200
commit857c228909603d1a27a40f2714f8b9076fabba6e (patch)
tree19fe7eb4f41975de4a161d4ef55fcd4fba4fbec6 /libtxt/inc
parent1a99700287749211aec38cb58ea2664585154794 (diff)
Keymaps n stuff
Diffstat (limited to 'libtxt/inc')
-rw-r--r--libtxt/inc/keymap.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libtxt/inc/keymap.h b/libtxt/inc/keymap.h
new file mode 100644
index 0000000..9f1966e
--- /dev/null
+++ b/libtxt/inc/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