https://bugs.kde.org/show_bug.cgi?id=477752

--- Comment #5 from Joshua Goins <[email protected]> ---
Git commit 33ef5e79b8be6a26efc9a1f891d2c1b97e6a860d by Joshua Goins.
Committed on 28/08/2025 at 13:14.
Pushed by redstrate into branch 'master'.

ButtonsRebindsFilter: Add support for rebinding to tablet touch rings

This is specifically for the touch rings seen on Wacom tablets. How they
work is that can they switch "modes" (which is already handled) and each
mode can have it's own rebind. This is only for rings and eventually
strips, so fortunately we do not have to retroactively add mode support
for our bindings.

Libinput only gives us ring positions in degrees, and leaves the
interpretation up to us. I have to add some extra state to
ButtonRebindsFilter to keep track of the initial ring position, but I
think it works well enough for now.

To add to the complexity a bit, I added a way to configure the
"sensitivity" or "speed" of axis keybinds which is really only useful
for rings. This does break existing axis keybinds for dials, but no one
but developers (like me) would have set any at this point.

M  +45   -1    autotests/integration/buttonrebind_test.cpp
M  +1    -0    autotests/integration/kwin_wayland_test.h
M  +6    -0    autotests/integration/test_helpers.cpp
M  +67   -12   src/plugins/buttonrebinds/buttonrebindsfilter.cpp
M  +7    -5    src/plugins/buttonrebinds/buttonrebindsfilter.h

https://invent.kde.org/plasma/kwin/-/commit/33ef5e79b8be6a26efc9a1f891d2c1b97e6a860d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to