Add key state OSD for debugging

Add action `DebugToggleKeyStateIndicator` to show in the top-left corner
the pressed, bound, pressed-sent keys as well as modifiers.

This should help fault find issues like #2771 and #3238

Based-on: #3262
Co-authored-by: @tokyo4j
This commit is contained in:
Johan Malm 2026-04-06 21:57:24 +01:00
parent fee38bceca
commit d2ea245dc1
5 changed files with 182 additions and 1 deletions

View file

@ -436,6 +436,10 @@ Actions are used in menus and keyboard/mouse bindings.
If used as the only action for a binding: clear an earlier defined
binding.
*<action name="DebugToggleKeyStateIndicator" />*
Toggle visibility of key-state on-screen display (OSD). Note: This is for
debugging purposes only.
# CONDITIONAL ACTIONS
Actions that execute other actions. Used in keyboard/mouse bindings.