From 05498860e8f7b1e8bb27880bc7526de026694804 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 26 Mar 2021 21:55:50 +0100 Subject: Renamed libs Cleaner and more flexible. --- libs/libtxt/keymap.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libs/libtxt/keymap.h (limited to 'libs/libtxt/keymap.h') 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 -- cgit v1.2.3