#ifndef foosharedhfoo #define foosharedhfoo #include #include #include #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); int strtol_strict(const char *str, int *result); int strtoull_strict(const char *str, uint64_t *result); extern uint8_t const byte_rev_table[256]; static inline uint8_t bitrev8(uint8_t byte) { return byte_rev_table[byte]; } #endif