From 94f65e354d09ded037e6ba724dc3eeed6d63778f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 9 Aug 2019 10:18:54 +0900 Subject: Add libinput-1.14 support This libinput version adds a new tablet tool type. --- include/wlr/types/wlr_tablet_tool.h | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index f732ad40..bd797915 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -19,14 +19,23 @@ * tablet-unstable-v2 headers, so we can't include them */ enum wlr_tablet_tool_type { - WLR_TABLET_TOOL_TYPE_PEN = 1, /**< A generic pen */ - WLR_TABLET_TOOL_TYPE_ERASER, /**< Eraser */ - WLR_TABLET_TOOL_TYPE_BRUSH, /**< A paintbrush-like tool */ - WLR_TABLET_TOOL_TYPE_PENCIL, /**< Physical drawing tool, e.g. - Wacom Inking Pen */ - WLR_TABLET_TOOL_TYPE_AIRBRUSH, /**< An airbrush-like tool */ - WLR_TABLET_TOOL_TYPE_MOUSE, /**< A mouse bound to the tablet */ - WLR_TABLET_TOOL_TYPE_LENS, /**< A mouse tool with a lens */ + /** A generic pen */ + WLR_TABLET_TOOL_TYPE_PEN = 1, + /** Eraser */ + WLR_TABLET_TOOL_TYPE_ERASER, + /** A paintbrush-like tool */ + WLR_TABLET_TOOL_TYPE_BRUSH, + /** Physical drawing tool, e.g. Wacom Inking Pen */ + WLR_TABLET_TOOL_TYPE_PENCIL, + /** An airbrush-like tool */ + WLR_TABLET_TOOL_TYPE_AIRBRUSH, + /** A mouse bound to the tablet */ + WLR_TABLET_TOOL_TYPE_MOUSE, + /** A mouse tool with a lens */ + WLR_TABLET_TOOL_TYPE_LENS, + /** A rotary device with positional and rotation data */ + WLR_TABLET_TOOL_TYPE_TOTEM, + }; struct wlr_tablet_tool { -- cgit v1.2.3