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.
This commit is contained in:
John Chadwick 2019-09-17 21:46:29 -07:00 committed by Drew DeVault
parent 875edc9c2f
commit 7e420cb6e4
10 changed files with 646 additions and 48 deletions

View file

@ -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;