Closed abeidahmed closed 5 months ago
The log shows that the key that is being depressed and released is 0xe2, not 0xc7 or 0xc8, which are the Brightness up and down keys. 0xe2 is Backlight Down.
My Craft keyboard has F1 as Brightness Down, F2 as Brightness Up, F6 as Backlight Down, and F7 as Backlight Up, but none of them generate any output when the keyboard is set to Windows. (There is no Android or Linux setting for my keyboard.)
So Solaar is doing what is should. The problem is mapping the icons on the keys to key names. For some keyboards this is problematic. Your keyboard is likely in the problematic situation where you need to look at the output of solaar show
which gives the names of your F4 and F5 keys. See below for the excerpt.
3: Backlight Down , default: Backlight Down => Backlight Down
is FN, FN sensitive, reprogrammable, divertable, analytics key events, pos:4, group:0, group mask:empty
reporting: default
4: Backlight Up , default: Backlight Up => Backlight Up
is FN, FN sensitive, reprogrammable, divertable, analytics key events, pos:5, group:0, group mask:empty
reporting: default
(For some keyboards the marking on the key has no relationship to the name of the key. At least in your case the marking is likely something that might be considered to be related to light.)
Thank you for the quick response. You're right. They weren't brightness keys as I had imagined.
The screenshot (snipping) F8
key only works when I set my OS to "Android". Is there a way I can make it work when I set the OS to "Windows"?
You probably would have to divert it and add a rule to do something with it, probably simulate the same key press as on Android.
It worked. Thanks for your help. Appreciate it.
Information
uname -srmo
):Linux 6.8.0-76060800daily20240311-generic x86_64 GNU/Linux
solaar show
:~/.config/solaar/config.yaml
:Describe the bug The brightness down
F4
and upF5
does not decrease or increase the screen's brightness.Screenshots
These are my rules
Additional context
Output of
solaar -ddd
when I pressF4
Note: I've set the OS to "Android" because the Screenshot (snipping) key
F8
was not working on other OS platforms. Switching to "Android" fixed the issue.