diff options
-rw-r--r-- | include/rootston/input.h | 2 | ||||
-rw-r--r-- | rootston/input.c | 4 | ||||
-rw-r--r-- | rootston/meson.build | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/include/rootston/input.h b/include/rootston/input.h index 1fae07d7..ecd53f3b 100644 --- a/include/rootston/input.h +++ b/include/rootston/input.h @@ -109,6 +109,8 @@ void pointer_add(struct wlr_input_device *device, struct roots_input *input); void pointer_remove(struct wlr_input_device *device, struct roots_input *input); void keyboard_add(struct wlr_input_device *device, struct roots_input *input); void keyboard_remove(struct wlr_input_device *device, struct roots_input *input); +void tablet_tool_add(struct wlr_input_device *device, struct roots_input *input); +void tablet_tool_remove(struct wlr_input_device *device, struct roots_input *input); void cursor_initialize(struct roots_input *input); void cursor_load_config(struct roots_config *config, diff --git a/rootston/input.c b/rootston/input.c index 9157ecc7..9700b840 100644 --- a/rootston/input.c +++ b/rootston/input.c @@ -40,7 +40,7 @@ static void input_add_notify(struct wl_listener *listener, void *data) { //touch_add(device, input); break; case WLR_INPUT_DEVICE_TABLET_TOOL: - //tablet_tool_add(device, input); + tablet_tool_add(device, input); break; default: break; @@ -61,7 +61,7 @@ static void input_remove_notify(struct wl_listener *listener, void *data) { //touch_remove(device, input); break; case WLR_INPUT_DEVICE_TABLET_TOOL: - //tablet_tool_remove(device, input); + tablet_tool_remove(device, input); break; default: break; diff --git a/rootston/meson.build b/rootston/meson.build index 59f73e96..1eb0704d 100644 --- a/rootston/meson.build +++ b/rootston/meson.build @@ -9,6 +9,7 @@ executable( 'main.c', 'output.c', 'pointer.c', + 'tablet_tool.c', 'xdg_shell_v6.c', 'xwayland.c', 'wl_shell.c', |