Skip to content

kcms/tablet: Overhaul button binding, move into dialog

Joshua Goins requested to merge work/redstrate/kinputsequence into master

Instead of solely allowing keystroke bindings, this changes the binding process in the KCM drastically. It now pops up in a dialog, allowing a user to choose between using keyboard bindings, mouse click bindings or an application defined action.

WIP screenshot:

image

image

TODO

  • Add support to KWin for mouse bindings with keyboard mods (currently it's only the mouse buttons themselves AFAIK)
  • Add support to KWin for disabled buttons
  • Mouse clicks don't open in the correct place

Future Considerations (not blockers ATM)

  • Think about how scroll up/down actions would work. This is currently a limitation in the kcminputrc format and will need implementation in KWin.
  • Think about how default keybinds fit into this. Awaiting proper libwacom integration, but still needs consideration in this UX for the future.

BUG: 469232

Edited by Joshua Goins

Merge request reports

Loading