summaryrefslogtreecommitdiff
path: root/shared.h
blob: 7dfcfca0c3071a3c4533252756bbd4fc6596e120 (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[20];

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