Some game controllers have incorrect names (Windows)
I have a pair of wireless NES controller joycons (this sort) which can be connected to Windows over Bluetooth. They show up as NES Controller (L)
and NES Controller (R)
respectively:
Unfortunately Gilrs is giving both controllers the name Joy-Con (R)
because they both have a product and vendor ID that matches the Joy-Con (R)
SDL mapping.
It seems that we'd need to join the RawGameController
with its BluetoothDevice
to get the name as shown above. I couldn't find an easy way to accomplish this but I'm not that familiar with the WinRT API. At the very least it seems like we should provide a way to get the non-roamable ID (on platforms that provide one) so users can distinguish between identical controllers across application startups/shutdowns.