Supersedes https://gitlab.winehq.org/wine/wine/-/merge_requests/10364 -- v2: dinput: Create a version 1 UUID for dinput joystick devices. dinput: Save and load HID joystick instance GUIDs to the registry. dinput: Return E_FAIL when opening a joystick device that is currently disconnected. dinput: Use joystick cache in hid_joystick_enum_device(). dinput: Use joystick cache in hid_joystick_create_device(). dinput: Create a cache of currently connected HID joysticks. dinput: Handle device override directly in hid_joystick_device_try_open. dinput: Check for disabled/overriden devices in hid_joystick_try_open. dinput: Only pass instance name string to device_instance_is_disabled(). https://gitlab.winehq.org/wine/wine/-/merge_requests/10719