diff options
author | David Härdeman <david@hardeman.nu> | 2015-07-22 23:39:29 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-07-22 23:39:29 +0200 |
commit | 10836ae78302aa778553300167f6cdebdf8d884b (patch) | |
tree | ebb7a3501b11682de18055b813ed5007cb7ffd5d /shared.h | |
parent | b51c1c648146e49c25c4d6a2a6f5b9b66ea3190d (diff) |
Improve rcm-server integration with evdev generation
Diffstat (limited to 'shared.h')
-rw-r--r-- | shared.h | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -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 |