xinput1_3: Use WM_DEVICECHANGE device path to add or remove devices

System Internals / WINE - Rémi Bernon [codeweavers.com] - 15 February 2022 21:59 UTC

Instead of iterating the entire device list every time.

baf66e12efe xinput1_3: Use WM_DEVICECHANGE device path to add or remove devices.
dlls/xinput1_3/main.c | 95 +++++++++++++++++++++++++++++++--------------------
1 file changed, 58 insertions(+), 37 deletions(-)

Upstream: source.winehq.org


  • Share