dinput: Update internal thread events list on every wake up.
commitac442a78a1d50fc4f04529e64e5f0debc8df5fb9
authorRémi Bernon <rbernon@codeweavers.com>
Wed, 22 Dec 2021 13:46:15 +0000 (22 14:46 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Dec 2021 17:57:42 +0000 (22 18:57 +0100)
tree6477e4bec171ebb58efc4bc30361177a2547a262
parenta7f0647dec27a588e2fdfb825c7f2420034f6dbb
dinput: Update internal thread events list on every wake up.

Instead of message notifications only. We have to remove the events from
devices that are automatically unacquired whenever a read failed.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/dinput/dinput_main.c