diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-08-09 10:18:54 +0900 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-08-11 19:39:47 +0900 |
commit | 94f65e354d09ded037e6ba724dc3eeed6d63778f (patch) | |
tree | 4ede99583523a01c01b7631ac3dbcd92ede19f05 /backend/libinput | |
parent | 58b2584863201f32d1a4770a1d5cde5e57b300c6 (diff) |
Add libinput-1.14 support
This libinput version adds a new tablet tool type.
Diffstat (limited to 'backend/libinput')
-rw-r--r-- | backend/libinput/tablet_tool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/libinput/tablet_tool.c b/backend/libinput/tablet_tool.c index 4e87b700..ff48f6a3 100644 --- a/backend/libinput/tablet_tool.c +++ b/backend/libinput/tablet_tool.c @@ -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"); |