16 #ifndef WAYLAND_COMMON_H__ 17 #define WAYLAND_COMMON_H__ 22 #include <linux/input.h> 23 #include <wayland-client.h> 24 #include <wayland-cursor.h> 26 #include "../../input/input_driver.h" 28 #define UDEV_KEY_MAX 0x2ff 29 #define UDEV_MAX_KEYS (UDEV_KEY_MAX + 7) / 8 31 #define MAX_TOUCHES 16 57 struct wl_display *
dpy;
int fd
Definition: wayland_common.h:58
int16_t x
Definition: wayland_common.h:36
int16_t y
Definition: wayland_common.h:37
Definition: wayland_common.h:33
struct wl_display * dpy
Definition: wayland_common.h:57
bool right
Definition: wayland_common.h:54
int last_x
Definition: wayland_common.h:49
struct input_ctx_wayland_data input_ctx_wayland_data_t
int delta_y
Definition: wayland_common.h:51
int x
Definition: wayland_common.h:50
uint8_t key_state[UDEV_MAX_KEYS]
Definition: wayland_common.h:44
bool active
Definition: wayland_common.h:35
bool last_valid
Definition: wayland_common.h:52
bool blocked
Definition: wayland_common.h:61
bool focus
Definition: wayland_common.h:53
signed short int16_t
Definition: stdint.h:122
bool left
Definition: wayland_common.h:54
bool keyboard_focus
Definition: wayland_common.h:45
int y
Definition: wayland_common.h:50
Definition: input_driver.h:170
#define MAX_TOUCHES
Definition: wayland_common.h:31
int last_y
Definition: wayland_common.h:49
bool middle
Definition: wayland_common.h:54
#define UDEV_MAX_KEYS
Definition: wayland_common.h:29
struct input_ctx_wayland_data::@220 mouse
Definition: wayland_common.h:41
wayland_touch_data_t touches[MAX_TOUCHES]
Definition: wayland_common.h:63
unsigned char uint8_t
Definition: stdint.h:124
const input_device_driver_t * joypad
Definition: wayland_common.h:60
int delta_x
Definition: wayland_common.h:51