Draft: Complete tablet support for Wayland
Work in progress...
See issue #123 (closed)
Talks
- https://gitlab.freedesktop.org/libinput/libinput/-/issues/824
- https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/117
- https://gitlab.gnome.org/GNOME/gimp/-/issues/8890
Tablet Mode
- https://wayland.freedesktop.org/libinput/doc/latest/tablet-support.html#tablet-pad-modes
- https://wayland.app/protocols/tablet-unstable-v2#zwp_tablet_pad_group_v2:event:mode_switch
Implementation Tasks
-
add tilt for pen -
add distance for pen, blocker: QTabletEvent doesn't support distance -
check tool capability -
fix missing messages in TabletSeatV2InterfacePrivate::sendPadAdded
NEED HELP: implemented but any log -
add update mode NEED LIBINPUT AND WAYLAND FEEDBACK -
send initial mode NEED LIBINPUT AND WAYLAND FEEDBACK -
add ring -
add raw touch events -
found code quality issue for recurrent usage of a->b->c, does gcc optimize this ???
TODO
-
compile patch on Fedora Copr 37
Test
-
...
Edited by fabrice salvaire