Update README.md
Spanish layout now works perfect! All keys are recognized by driver
This commit is contained in:
parent
e8a6bb5425
commit
5b7779ad1b
1 changed files with 6 additions and 10 deletions
|
@ -1,18 +1,14 @@
|
||||||
The driver works perfect for this keyboard but I have a problem.
|
The driver works perfect for this keyboard.
|
||||||
|
|
||||||
The problem is when using non english keyboard layout.
|
I had a problem with spanish layout (105 keys) where key for '<' and '>' symbols (between left shift and 'Z' key) wasn't recognized by driver.
|
||||||
|
|
||||||
Whe I use **Marcel's Python matrix generator program** I must press keys as I were using english layout keyboard (mine is spanish layout) and then in Windows, selecting my language layout (spanish) everything is ok (locale symbols shows ok, i.e. 'ñ', '¿', '¡') but:
|
After studing Teensy library keylayout.h file I could find the solution:
|
||||||
|
|
||||||
Spanish keyboard layout (phisical layout) is different from EN layout (there is a key between left shift key and 'Z' key, but there is only two keys between 'P' key and 'Enter' key.
|
That extra key is KEY_NON_US_BS (instead of KEY_NON_US_100). Using this constant in matrix, spanish layout works great!
|
||||||
This has some negative consequences:
|
|
||||||
- The most right key between 'L' key and 'Enter' key, marked in my keyboard whith symbols 'Ç' and '}' doesn't work, when pressed, nothing happens.
|
|
||||||
- The key between left shift and 'Z' key is marked with '<' and '>' symbols but when pressed, it shows symbols for key described above, the key that doesn't work.
|
|
||||||
- '<' and '>' symbols can't be entered with any key (only using ALT+60 and ALT+62, of course)
|
|
||||||
|
|
||||||
### Update:
|
Very important:
|
||||||
|
When using **Marcel's Python matrix generator program** you must press keys like you were using english layout keyboard and then in Windows, selecting your language layout (spanish for me) everything works OK (locale symbols shows ok, i.e. 'ñ', '¿', '¡').
|
||||||
|
|
||||||
The most right key between 'L' key and 'Enter' key, marked in my keyboard whith symbols 'Ç' and '}' now works if pressing this key as english layout 'backslash' key. '<' and '>' symbols not showing yet.
|
|
||||||
|
|
||||||
[![](https://github.com/NitemareReal/USB_Laptop_Keyboard_Controller/blob/master/Example_Keyboards/Lenovo_G550/IMG_20220803_155138292_2.jpg)](https://github.com/NitemareReal/USB_Laptop_Keyboard_Controller/blob/master/Example_Keyboards/Lenovo_G550/IMG_20220803_155138292_2.jpg)
|
[![](https://github.com/NitemareReal/USB_Laptop_Keyboard_Controller/blob/master/Example_Keyboards/Lenovo_G550/IMG_20220803_155138292_2.jpg)](https://github.com/NitemareReal/USB_Laptop_Keyboard_Controller/blob/master/Example_Keyboards/Lenovo_G550/IMG_20220803_155138292_2.jpg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue