Wacom touch ring sends single wrong-direction event once per revolution
Affected version
- Arch Linux
- GNOME 40.2.0
- mutter-40.3-1
- Verified in Xorg, untested in Wayland
Previously reported at https://bugzilla.gnome.org/show_bug.cgi?id=785362#c1 with as affecting mutter 3.24.4 under both Xorg and Wayland
Bug summary
A Wacom tablet which has been configured to send keystroke events from its touch ring will produce a single wrong-direction event once every complete revolution. For instance, assume the ring is configured to send the "a" key for clockwise motion and the "b" key for counter-clockwise motion. If the user produces a clockwise motion, an application will see a series of "a" keys, except when the finger passes over one particular point when a single "b" is sent.
Steps to reproduce
- Connect a Wacom tablet with a touch ring (e.g. Wacom Intuos Pro)
- Use the GNOME Control Center to map the touchring to press the 'a' and 'b' key for its two directions
- Open a text editor
- Move your finger clockwise around the touchring for several complete revolutions
- Move your finger counter-clockwise around the touchring for several complete revolutions
What happened
Once per revolution Mutter causes the wrong key to be pressed (e.g. "aaaaaaabaaaaaaa"). The wrong key is pressed at the same location on the touchring every time.
What did you expect to happen
Mutter should only trigger the correct keystroke events.