Commit 3ad4f9f3 authored byBrowse files
dinput: Reset button state for each report read.
As we loop on ReadFile success we may read multiple reports at once, but we never reset buttons in the enumeration params. The pressed buttons are returned by HidP_GetUsagesEx and any other button must be cleared. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52387 Signed-off-by: Rémi Bernon <firstname.lastname@example.org> Signed-off-by: Alexandre Julliard <email@example.com>