Just like volume increase/decrease I was looking for a key name to map to increase LCD screen brightness and found this under key_defs.h: Key_BacklightUp and Key_BacklightDown. I wonder why this is not under the other “regular” headers but in this more low level file. So my question:
Is it safe to use Key_BacklightDown and Key_BacklightUp in a keymap?
Would it work on desktop LCD screens or only laptop? (Would test this myself if I were sure of answer to above question.)
Because backlight control is not part of the HID spec, and therefore these are non-standard codes. They may or may not work. It’s not unsafe, as in, it won’t destroy neither your screen or your keyboard. But it may not do anything. Or it might do something completely unrelated to screen backlight adjustment.