mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
Add libinput-1.14 support
This libinput version adds a new tablet tool type.
This commit is contained in:
parent
58b2584863
commit
94f65e354d
4 changed files with 49 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue