aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-08-09 10:18:54 +0900
committerDrew DeVault <sir@cmpwn.com>2019-08-11 19:39:47 +0900
commit94f65e354d09ded037e6ba724dc3eeed6d63778f (patch)
tree4ede99583523a01c01b7631ac3dbcd92ede19f05 /include
parent58b2584863201f32d1a4770a1d5cde5e57b300c6 (diff)
Add libinput-1.14 support
This libinput version adds a new tablet tool type.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_tablet_tool.h25
1 files changed, 17 insertions, 8 deletions
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 {