From f2ea691b93d96e583002a9f46467cf5ca631eac9 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 1 Oct 2017 11:21:55 -0400 Subject: Add basic drawing tablet support to rootston --- rootston/input.c | 4 ++-- rootston/meson.build | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'rootston') 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', -- cgit v1.2.3