Skip to content

Add support for COMPOSE and KANA key LEDs

Martin Rys requested to merge czerornthreej/kwin:blinkenlights into master

Reordered the original list against upstream kernel IDs.

Added Kana and Compose keys.


Linux ecosystem currently does not implement Compose or Kana LEDs, kwin included.

Unfortunately, Scroll Lock LED is also broken for some unknown reason, which causes other bugs down the road for keyboards that rely on Scroll Lock host state for functionality like backlight.

I am not sure if I did the changes correctly, I eyeballed the variable names as I am not sure where they come from/how they're used.

More importantly, I need guidance as to where else this needs to be implemented.
Compose key needs to change state when Compose key is actually active, should this also go to kwin?
Where else should it go?
Kana is probably the same deal, but I have not looked too deep at how it functions to confirm.

See this libinput PR for more information.

Waiting for libxbcommon 1.8 release containing https://github.com/xkbcommon/libxkbcommon/pull/502

Edited by Méven Car

Merge request reports