aboutsummaryrefslogtreecommitdiff
path: root/libs/libtxt/keymap.h
blob: 4f5512fc57290e57d10696d4e2cfdbb3a0cffb00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// MIT License, Copyright (c) 2020 Marvin Borner

#ifndef KEYMAP_H
#define KEYMAP_H

#include <def.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) NONNULL;

#endif