[PATCH] dinput8: Use scan codes to test uAppData.

Francois Gouget fgouget at codeweavers.com
Wed May 26 07:21:54 CDT 2021


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

-- 
Francois Gouget <fgouget at codeweavers.com>



More information about the wine-devel mailing list