• Rémi Bernon's avatar
    xinput1_3/tests: Add some HID report tests. · 7a571127
    Rémi Bernon authored
    This adds tests to validate the bogus HID devices exposed native XInput
    driver. Interactive tests are also included to validate the HID report
    values, and more specifically the weird combined triggers, which is
    currently not implemented correctly in Wine.
    
    Some third-party libraries, such as SDL, are known to rely on this bogus
    HID devices and hardcode the expected report structure.
    
    This has been tested on Windows 10 with XBox 360 controllers as well
    as Xbox One S controllers.
    
    The latter are detected as 045e:02ea on Linux, but as 045e:02ff on
    Windows for some reason, and their descriptor seems a little bit
    different.
    
    Their exposed HID device also doesn't seem to work at all and ReadFile
    never succeeds, so the interactive tests are skipped for these devices.
    Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    7a571127
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...