Basic French keyboard on physical AZERTY keyboard

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?

Admin note: I moved your new question from previous topic to this new topic

The Basic French keyboard has these rules:

Which converts lower-case letter “a” to U+0071 which is “lower-case letter q”.

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) :


I think I tried all four possible combinations…

in a nutshell, the question is : is it possible to meet these three conditions ?

  1. letter “a” is displayed on the corresponding “AZERTY” key on the virtual keyboard
  2. letter “a” when clicked on this virtual keyboard outputs “a”
  3. letter “a” pressed as a physical key on the physical AZERTY keyboard outputs “a”

Hi @pgod,

We are sorry for taking so long to get back to you. Have you found the answers?

I think the three conditions are possible, and here are some references:

Let us know!

This topic was automatically closed after 14 days. New replies are no longer allowed.