EmbeddedController icon indicating copy to clipboard operation
EmbeddedController copied to clipboard

Emit HID event when keyboard brightness changed via fn+space

Open Jules-Bertholet opened this issue 1 year ago • 3 comments

Currently, changing the keyboard backlight brightness via fn+space does not notify the OS in any way. Therefore, OS indicators like GNOME Shell's keyboard backlight slider will show the wrong values. This PR corrects this issue by emitting a "Keyboard Backlight Set Level" HID event on fn+space. (The backlight brightness is still changed directly in firmware, so functionality in e.g. firmware menu won’t be affected.)

Jules-Bertholet avatar Nov 07 '24 18:11 Jules-Bertholet

Could you explain how this event gets interpreted by Gnome? The kernel doesn't seem to know to handle it.

t-8ch avatar Nov 09 '24 17:11 t-8ch

Unfortunately, proper testing reveals that Linux does not currently handle this HID usage, so I am marking as draft.

Jules-Bertholet avatar Nov 11 '24 15:11 Jules-Bertholet

This would be really awesome, I think I tried that a few months ago and neither Windows nor Linux supported it :(

JohnAZoidberg avatar Nov 13 '24 04:11 JohnAZoidberg