Closed mskrip closed 6 years ago
Ouput of cat /sys/bus/hid/drivers/razerkbd/0*/test
is
030000
And picture of the keyboard:
Could you please run the script at https://github.com/openrazer/openrazer/blob/master/scripts/driver/keyboard_keys.py (change all the 22's to 16 first I think) and note down which keys light up with which matrix position. So if you could do like:
esc empty empty F1 F2 ... ^ empty 1 2 3
or something because I don't know which matrix positions access what keys.
But I have already finished the graphical part of your keyboard :) Just the matrix positions are missing now.
Only keys that lit up are :
Which is the same for all matrix positions and it stays like that even after script is over (but I assume that is expected)
I am trying to run it again, but no keys light up this time.
Can you please test the application from the branch feature/razerblade16
? Instructions are at the bottom of the readme but you might have to install some dependencies first (but meson should tell you what is missing).
The important part of testing is that all on-screen keys map exactly to the physical keys and light up correctly. :)
Backspace and Enter keys do not light up.
Also the right part of the bottom row is not aligned correctly. Alt gr
does not light up but on-screen Alt gr
lights up physical fn
key and the same for all the keys to the right of it (misaligned by one key, alt gr is first)
That may be caused by the fact that there are 4 distinct arrow keys maybe. As on-screen strg
button lights up left arrow.
Please pull the newest changes and try again ๐
I know that arrow-down doesn't exist but that's another problem I have to tackle.
Backspace
works now, but Enter
and RShift
do not work. As for arrow-down, wouldn't it be enough to light up both up and down arrows with same on-screen button?
I've added a few extra buttons now, please tell me which one works ๐ About the arrow keys: I'll figure something out but lighting two keys with one button would have to be implemented in RazerGenie separately so I'll just figure the two buttons on top of each other out.
The rightmost Enter
(enter4) and RShift
(shift3) on-screen buttons work now :) . BTW space key does not have lightning on the keyboard, but I'm not sure whether that is relevant.
Can you try if one of the extra space buttons does anything? Shift and enter should be good now.
No, none of the space buttons do anything.
Dou you know if Razer Synapse can light up the space button?
To my knowledge space button does not have LED to light up so I think it can't.
Okay I'll deactivate that button then.
Okay please verify again that everything works, then I can merge it to master :) (you might have to run git fetch; git reset --hard origin/feature/razerblade16
as I have force-pushed that branch)
Yes, everything (except the down arrow) works correctly.
I've added it now, it doesn't look particularly good but it should do the job for now. I'll probably look into using the QGridLayout instead of my nested QVBox- and QHBoxLayouts for fixing this and also making the enter key prettier.
Yes :) everything works properly now. Great job!
Can you please make a (readable) picture of your keyboard with all keys visible and also the output of
cat /sys/bus/hid/drivers/razerkbd/0*/test
. Thanks for reporting!