On Wed, 26 May 2021, Arkadiusz Hiler wrote:
Virtual key codes are layout dependant while direct input works with scan codes.
Using virtual key code for 'A' with AZERTY layout resulted in scan code for 'Q' being sent out, which in turn made the tests fail.
That makes sense. Nowadays I use SetWinLocale [1] to configure the VMs locale and that changes the default & 'MUI' language, country, formats and keyboard layout.
[1] https://source.winehq.org/git/tools.git/blob/HEAD:/testbot/bin/SetWinLocale