mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
On a Wayland session a drawing tablet's pen could not draw or click: winit 0.30 does not bind the Wayland tablet protocol, and neither KWin (since Plasma 6.3) nor GNOME's Mutter turns tablet input into pointer input. Linux Display Server's X11 (XWayland) choice let the pen work as a mouse, but it opened the window through XWayland on every start, also without a tablet. Linux Display Server has a third choice, X11 (XWayland) When a Pen Is Attached (x11WithPen). It opens the window through XWayland on a Wayland session only when /proc/bus/input/devices lists a pen as the app starts: a device with the BTN_TOOL_PEN key and the ABS_X and ABS_Y axes, the check PhotoCraft's tablet.rs makes. Automatic stays the default. On Linux the Performance page shows a note for tablet pens that don't draw. README.md named KDE alone; the KWin commit's message says Mutter does not emulate tablet events either, so README.md and docs/development.md now name GNOME. The Pen pressure row of docs/hardware-parity.md said Linux has pressure through XWayland; winit 0.30 reports none on X11 either. Docs: README.md, docs/development.md, docs/hardware-parity.md, docs/target-app-parity.md.