JoyShockLibrary icon indicating copy to clipboard operation
JoyShockLibrary copied to clipboard

A Switch Pro gamepad connected through Bluetooth and then USB is detected twice; First thread get's stuck

Open Takao-7 opened this issue 1 year ago • 0 comments

Steps to reproduce (Windows):

  1. Connect a Switch Pro Gamepad through Bluetooth
  2. 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; }.

Takao-7 avatar Jun 22 '23 08:06 Takao-7