Keyboard callback doesn't take into account keyboard layout (Windows)

Hi!

I use libretro’s keyboard callback to manage the keyboard on my core. This callback gives access to the keycode of the pressed key.

Under Linux this works ok: I have an AZERTY keyboard and my operating system is configured with a french keyboard. When I press the ‘A’ key, the keyboard callback is called with the keycode of the ‘A’ letter. If I switch the configuration of the operating system to use an english keyboard then when I press the ‘A’ letter the keyboard callback is called with the keycode of the ‘Q’ letter => that’s the behavior I was expecting.

However, under Windows, whatever the keyboard configuration of the operating system is, when I press the ‘A’ key of my keyboard the keyboard callback is called with the keycode of the ‘Q’ letter, as if I had a QWERTY keyboard!

I tried to change some Retroarch’s options, in particular the input driver, but I wasn’t able to fix this problem.

Could someone help me?

Thanks

Have you managed to solve this? I saw your github request but I can’t tell if it was solved or not.

I’m still having the same issue with RA 1.9: When I input “A” on my AZERTY keyboard, in Input section, it shows “Q”. It’s not really a big deal, however in some DOSBox games, my keyboard is in Qwerty.