diff options
Diffstat (limited to 'src/lib/include/proto')
-rw-r--r-- | src/lib/include/proto/keymap_file.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/include/proto/keymap_file.h b/src/lib/include/proto/keymap_file.h new file mode 100644 index 0000000..53ffeb7 --- /dev/null +++ b/src/lib/include/proto/keymap_file.h @@ -0,0 +1,16 @@ +#pragma once + +#include <stdint.h> +#include <stddef.h> +#include <stdbool.h> + +typedef struct { + int normal[128]; + int shift[128]; + int caps[128]; + int mod[128]; + int shiftmod[128]; + bool ralt_is_mod; // true: right alt = alt-gr +} keymap_t; + +/* vim: set ts=4 sw=4 tw=0 noet :*/ |