From 7e420cb6e4a334dea7296060820de12a768b76da Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Tue, 17 Sep 2019 21:46:29 -0700 Subject: input: Add support for tablet protocol. Sway has basic support for drawing tablets, but does not expose properties such as pressure sensitivity. This implements the wlr tablet v2 protocol, providing tablet events to Wayland clients. --- include/sway/server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sway/server.h') diff --git a/include/sway/server.h b/include/sway/server.h index a43cbf72..cd411d3b 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -44,6 +44,8 @@ struct sway_server { struct wlr_xdg_shell *xdg_shell; struct wl_listener xdg_shell_surface; + struct wlr_tablet_manager_v2 *tablet_v2; + #if HAVE_XWAYLAND struct sway_xwayland xwayland; struct wl_listener xwayland_surface; -- cgit v1.2.3-54-g00ecf