Rémi Bernon : dinput8/tests: Add tests for the internal HID preparsed data structures.

Alexandre Julliard julliard at winehq.org
Wed Sep 15 16:21:29 CDT 2021


Module: wine
Branch: master
Commit: c0ea122c0c86e5487c40f0389039afe06c141844
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c0ea122c0c86e5487c40f0389039afe06c141844

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Wed Sep 15 09:29:49 2021 +0200

dinput8/tests: Add tests for the internal HID preparsed data structures.

Correct DInput implementation will require it to iterate on the internal
HID structures, instead of using the higher-level value / button caps
abstraction.

This will make Wine DInput incompatible with native HID stack, unless
the internal structure match.

These tests exhibit native internal structures, which are close to what
Wine uses, so it should not be too complicated to restore compatibility.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dinput8/tests/hid.c | 470 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 470 insertions(+)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=c0ea122c0c86e5487c40f0389039afe06c141844



More information about the wine-cvs mailing list