Skip to content

wayland: Send tilt and rotation events, if supported

Joshua Goins requested to merge (removed):add-wayland-tilt-rot into master

While tilt is sent on X11, we're currently only sending pressure events and not tilt/rotation events on Wayland. Since Krita is still running in X11, and it's running through XWayland - it's technically a Wayland client and gets no tilt/rotation. This fixes that issue :-)

I saw !3231 (closed) which was working on complete Wayland tablet support, but it's been stagnating. I just wanted tilt & rotation support now, so I added a way to query capabilities from the m_capabilities variable on the private interface we already fetched.

Tested on Krita using the Tablet Debug Log.

Merge request reports

Loading