summaryrefslogtreecommitdiff
path: root/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared.h')
-rw-r--r--shared.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/shared.h b/shared.h
index 28eed39..dda43ff 100644
--- a/shared.h
+++ b/shared.h
@@ -1,8 +1,25 @@
-#ifndef foosharedfooh
+#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
-#endif
+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