summaryrefslogtreecommitdiffstats
path: root/keymap.h
blob: 0e3bbc37e64dfc832a51367c71c8cc82c1fb47f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <linux/input.h>

struct input_event_state {
	int altgr:1;
	int alt:1;
	int shift:1;
	int ctrl:1;
	int meta:1;
};
size_t translate_event(struct input_event *event, struct input_event_state *state, char *buffer, size_t buffer_len);
int load_system_keymap();