aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/input.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/rootston/input.h b/include/rootston/input.h
index 4ac11959..ec1cd32d 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -25,10 +25,8 @@ struct roots_keyboard {
struct roots_pointer {
struct roots_input *input;
struct wlr_input_device *device;
- struct wl_listener motion;
- struct wl_listener motion_absolute;
- struct wl_listener button;
- struct wl_listener axis;
+ // We don't listen to any pointer events directly - they go through
+ // wlr_cursor
struct wl_list link;
};
@@ -104,6 +102,7 @@ struct roots_input *input_create(struct roots_server *server,
void input_destroy(struct roots_input *input);
void pointer_add(struct wlr_input_device *device, struct roots_input *input);
+void keyboard_add(struct wlr_input_device *device, struct roots_input *input);
void cursor_initialize(struct roots_input *input);
void cursor_load_config(struct roots_config *config,