Open s-light opened 4 years ago
Just checked wether the OS is actually able to read out the keys;
xev
does output the keypress events for the keys above the numpad, but all three keys return the same KeyCode (248) so there is no way to know which of the three is pressed currently.
dmesg
does output the following log when you press the keys:
[ 587.600218] asus_wmi: Unknown key 9d pressed
[ 588.060085] asus_wmi: Unknown key 9c pressed
[ 589.400182] asus_wmi: Unknown key 6a pressed
Not sure what the F12 function is supposed to do, but it also returns an unkown key (86) message.
We might have to look into the following kernel module to get these to work https://github.com/torvalds/linux/blob/master/drivers/platform/x86/asus-nb-wmi.c
just saw that you @Plippo added suport for the special keys - big thanks! currently available with: https://github.com/Plippo/asus-wmi-screenpad
i tested this with the toggle window between screens key. it is working nicely in kde:
only the 'power mode / fan' button seems to be not working yet. (and the labels are a little bit of - but that is not a problem for me.. )
only the 'power mode / fan' button seems to be not working yet. (and the labels are a little bit of - but that is not a problem for me.. )
Ah well, didn't know the 15 inch model has one button more, on my 14 inch model I only got the toggle between screens and turn screen off button. From the output posted above, I suppose that 9D is the power mode key - I'll add that to the kernel module.
The problem with the key labels is that there is only a fixed set available and we have to use what we got... I'll look if I find something for the fan mode, but if not, I'll probably go with F15 or something like that.
I added the new key and renumbered the other keys to make it more logical, so if you install the new kernel module, you probably have to reassign your key bindings. The assignment is now:
that was fast ;-) thanks! working fine!!
so i think this issue is done :-) → @Plippo do you know if / how to merge this upstream? (i mean does it make sens to leave this open here untill your fixes are merged?) Thanks for your Work!!!
there are three special keys above the touchpad - currently i don't know how to check for them.