summaryrefslogtreecommitdiff
path: root/shared.h
blob: dda43ffe5dfddf994e6683d97269fc1a5cd0d7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef foosharedhfoo
#define foosharedhfoo

#include <unistd.h>
#include <stdint.h>
#include <stdbool.h>
#include "linux-input.h"

#define REMOTE_LAYOUT_MAX_WIDTH  1000
#define REMOTE_LAYOUT_MAX_HEIGHT 1000

extern const char *rc_protocols[];

struct linux_input_keycode {
	const char *name;
	uint32_t value;
	bool alias;
	void *cairo_surface;
};

extern struct linux_input_keycode linux_input_keycodes[];

struct linux_input_keycode *get_linux_keycode_by_name(const char *name);

#endif