JibbSmart / JoyShockLibrary

Read DualSense, DualShock 4, JoyCon, and Pro Controller input on PC -- compiled for Windows, but code should work on other platforms.
Other
226 stars 42 forks source link

other method to add compatible DS4 usb devices #36

Open ozzyyzzo4096 opened 3 years ago

ozzyyzzo4096 commented 3 years ago

rather than expecting and comparing or list or individual product IDs , just accept all product IDs and use them as a unique indices aswell.

JibbSmart commented 3 years ago

Hi Ozzy, thanks for your PR. We can't use product IDs as unique indices. If I have two official DualShock 4 connected, they'll both have the same product ID.

The reason I use product IDs and not the product name is because I don't know if other products using a similar name will actually report with the same structure.