JoyShockLibrary
JoyShockLibrary copied to clipboard
A Switch Pro gamepad connected through Bluetooth and then USB is detected twice; First thread get's stuck
Steps to reproduce (Windows):
- Connect a Switch Pro Gamepad through Bluetooth
- Then connect the gamepad through USB
Observe that both the "serial number" and "path" are different between connecting it through USB and Bluetooth. Because of this, the gamepad is now connected through USB and the thread handling the Bluetooth connection gets stuck in JoyShock.cpp:589
if (!get_spi_data(0x603D, 0x12, factory_stick_cal)) { return false; }
.