1 #ifndef DS_TIZEN_DEVICEMGR_H
2 #define DS_TIZEN_DEVICEMGR_H
5 #include <linux/uinput.h>
6 #include <wayland-server.h>
7 #include <tizen-extension-server-protocol.h>
8 #include <libds/interfaces/input_device.h>
9 #include <libds/seat.h>
11 struct ds_tizen_input_devicemgr_device {
13 struct ds_input_device *input_device;
19 struct wl_list pressed;
31 struct ds_tizen_input_devicemgr {
32 struct wl_global *global;
33 struct wl_display *display;
34 struct ds_backend *backend;
38 struct wl_signal destroy;
41 struct wl_listener new_input;
42 struct wl_listener backend_destroy;
43 struct wl_listener seat_destroy;
45 struct ds_tizen_input_devicemgr_device *kbd;
46 struct ds_tizen_input_devicemgr_device *ptr;
47 struct ds_tizen_input_devicemgr_device *touch;
50 struct wl_list clients;
52 struct wl_list keymap_list;
54 struct wl_list blocked_keys;
55 struct wl_resource *block_resource;
56 struct wl_event_source *timer;
57 struct ds_seat_keyboard_grab *grab;
66 struct ds_tizen_input_devicemgr_client {
67 struct wl_resource *resource;
70 struct wl_list link; // ds_tizen_input_devicemgr::clients
73 struct ds_tizen_input_devicemgr_key_info {
75 struct wl_list link; // ds_tizen_input_devicemgr::pressed_keys;