Skip to content

Conversation

@jfernandez
Copy link
Owner

When calling hidapi.open(device_info.vendor_id(), device_info.product_id())?;when multiple devices with the same vendor/product ID are connected, hidapi will always return the first one.

The correct way to get the device is by calling device_info.open_device(hidapi)?;. This will use the device path or fallback to using the serial.

closes #15

@jfernandez jfernandez merged commit f48dbb1 into main Jan 22, 2023
@jfernandez jfernandez deleted the ds4bug branch January 22, 2023 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Multiple DualSense controllers not correctly displaying info

3 participants