joy.cpl: Refresh the joystick device list when modified.
commitc496a7b3f984fa0eb4931757da77eeecd6a7ab38
authorRémi Bernon <rbernon@codeweavers.com>
Thu, 23 Sep 2021 12:01:55 +0000 (23 14:01 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 23 Sep 2021 16:12:28 +0000 (23 18:12 +0200)
treefb15aaa4a0587f0ad9c117a10eef256e6ff034a6
parenta6f7f2dcfbf1f6fb9555f0324e53194f24d56115
joy.cpl: Refresh the joystick device list when modified.

This will not work for legacy dinput devices because of the internal
enumeration logic, but it will dynamically update the list for HID
joysticks.

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