From 10836ae78302aa778553300167f6cdebdf8d884b Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 22 Jul 2015 23:39:29 +0200 Subject: Improve rcm-server integration with evdev generation --- shared.h | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'shared.h') 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 +#include +#include +#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 -- cgit v1.2.3