dinput8: Use scan codes to test uAppData.
commit6b777d0b20270aff3c7296f9ca16f2e0a7866fe6
authorArkadiusz Hiler <ahiler@codeweavers.com>
Wed, 26 May 2021 11:10:58 +0000 (26 14:10 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 26 May 2021 19:29:38 +0000 (26 21:29 +0200)
tree305c528a094e3ab79ad48553a883302b22bc8a8c
parent06fa39cd7657146ad4b90dee74143daee408c86f
dinput8: Use scan codes to test uAppData.

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.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50987
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/dinput8/tests/device.c