mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04: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
|
|
@ -113,6 +113,10 @@ static enum wlr_tablet_tool_type wlr_type_from_libinput_type(
|
|||
return WLR_TABLET_TOOL_TYPE_MOUSE;
|
||||
case LIBINPUT_TABLET_TOOL_TYPE_LENS:
|
||||
return WLR_TABLET_TOOL_TYPE_LENS;
|
||||
#if LIBINPUT_MINOR >= 14
|
||||
case LIBINPUT_TABLET_TOOL_TYPE_TOTEM:
|
||||
return WLR_TABLET_TOOL_TYPE_TOTEM;
|
||||
#endif
|
||||
}
|
||||
|
||||
assert(false && "UNREACHABLE");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue