-
Notifications
You must be signed in to change notification settings - Fork 447
Closed
Labels
enhancementNew feature or requestNew feature or requesthidrawRelated to Linux/hidraw backendRelated to Linux/hidraw backendlibusbRelated to libusb backendRelated to libusb backend
Description
With hid_darwin_get_location_id (#378) and hid_winapi_get_container_id(#379) we have physical device identifiers for Windows and MacOS, but not for Linux.
The Chromium HID implementation uses the same identifiers for Windows and MacOS, but has also an implementation for hidraw. They use the sysfs path of the device node that represents the physical device as physical identifier. They implemented a recursive search to gather this information:
https://chromium.googlesource.com/chromium/src/+/refs/changes/62/3314562/3/services/device/hid/hid_service_linux.cc#138
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthidrawRelated to Linux/hidraw backendRelated to Linux/hidraw backendlibusbRelated to libusb backendRelated to libusb backend