Bug 470453

Summary: Feature Requests: Add support for keyboard backlight brightness cycle, color cycle and brightness changed key
Product: [Plasma] Powerdevil Reporter: Werner Sembach [TUXEDO] <wse>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: me, natalie_clarius, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Werner Sembach [TUXEDO] 2023-05-30 14:38:15 UTC
The old three KEY_KBDILLUM* keycodes don't reflect the current situation
modern notebooks anymore. Especially the ones with RGB keyboards.

e.g.
- Clevo NL50NU has a toggle, an up, a down and a color-cycle key
- TongFang PH4ARX1 doesn't have a toggle key, but one that cycles through
  off, half-brightness, and full-brightness.

Also, on some devices these keys are already implemented in firmware. It
would still be nice if there is a way to let userspace know when one of
these keys is pressed to display the OSD, but don't advice it to actually
do anything. This is the intended purpose of the KEY_KBDILLUMCHANGE define.

My draft sent to the LKML:  https://lore.kernel.org/all/20230530110550.18289-1-wse@tuxedocomputers.com/

Is there interest in this besides me? What are other potential keys?
Comment 1 Werner Sembach [TUXEDO] 2023-05-30 14:45:06 UTC
Cross reference to the Gnome feature request: https://bugs.kde.org/show_bug.cgi?id=470453
Comment 2 Nate Graham 2023-06-05 04:22:37 UTC

*** This bug has been marked as a duplicate of bug 406790 ***
Comment 3 Werner Sembach [TUXEDO] 2023-06-05 09:37:20 UTC
(In reply to Werner Sembach [TUXEDO] from comment #1)
> Cross reference to the Gnome feature request:
> https://bugs.kde.org/show_bug.cgi?id=470453

woopsy: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/746