diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-23 18:32:03 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-09-23 18:32:03 -0400 |
commit | b84d59403fa8649817e84c486e701508f191c949 (patch) | |
tree | ee98da8284ff9a414618d17cf46b30695bb1b48d /include | |
parent | 0ca7932c3f23dddd7e8375a89e727223d665c8d5 (diff) |
Initial keyboard support in rootston
Diffstat (limited to 'include')
-rw-r--r-- | include/rootston/input.h | 7 |
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, |