Thank you very much @mengheng !
The workaround does indeed work and the javascript console is not complaining anymore.
Now I have another issue : my current work is based on the default French keyboard made available here (which I intend to enrich) :
(I have made a copy/paste of the code).
The result is quite good when I use the javascript on screen virtual keyboard, but when I press the keys of my actual physical keyboard (French AZERTY keyboard) I am getting QWERTY, i.e. when I press the physical “a”, I am getting “q” etc.
So there is a discrepancy between the virtual screen keyboard and the physical one.
Is there any way to correct this?
Hi @darcy, thanks but I am getting lost. Here is what I have in the code for the letter “a” :
layout file (*kmn file):
+ [NCAPS K_A] > U+0061
(unicode UTF-8 for “a”)
on screen keyboard file (*.kvks file) :
<key vkey="K_A">a</key>
After compiling, I am getting an onscreen keyboard with “a” visually located at the right place for an AZERTY keyboard but when I click on it I am getting the letter “q”.
When I press the physical key “a” on my keyboard, the result is an “a”.
Could you help?
Here is a recap of my various attempts at modifying the values for the letter “a” in the two config files (when the expected result is OK, the color is green) :