aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-01 11:21:55 -0400
committerDrew DeVault <sir@cmpwn.com>2017-10-01 11:21:55 -0400
commitf2ea691b93d96e583002a9f46467cf5ca631eac9 (patch)
tree36c5e94a4a5a48360ee56abae4a42e5b919840e5 /rootston
parent933cffaa8de0b43b71fa96437f6c5b1413ec0716 (diff)
Add basic drawing tablet support to rootston
Diffstat (limited to 'rootston')
-rw-r--r--rootston/input.c4
-rw-r--r--rootston/meson.build1
2 files changed, 3 insertions, 2 deletions
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',