winebus, hidclass, dinput: Add bus_num and port_path to device_desc and use them in instance_id.

Use only real serial numbers, otherwise return error on IOCTL_HID_GET_STRING, similar to Windows.

Generate consistent container_id (winebus) based on either serial number, uid (macos LocationID), bus_num/port_path (Linux bus_udev) or input/index.

Generate consistent guidInstance (dinput) based on device_id/instance_id extracted from the device_path.

Merge request reports

Loading