Valkirie / HandheldCompanion

ControllerService
Other
1.14k stars 89 forks source link

HC shut down when external 8bitdo pro2 controller is turned off #843

Open Buzz9191 opened 9 months ago

Buzz9191 commented 9 months ago

Hello, I am using HC on win 11 with an 8bitdo pro2 gamepad to use the gyroscope in games, HC works fine, but when I turn off the gamepad, HC turns off and the next time I turn on the gamepad I have to open the program again. Is it possible to make the program work all the time?

CasperH2O commented 9 months ago

Hey @Buzz9191 sounds like HC has trouble handling the disconnection of the controller. The 8bitdo pro 2 controller is not one we have tested ourselves, so thanks for providing feedback.

Can you share the HC logfile from the day/time this happens. Logfiles can be found in programfiles/handheldcompanion/logs

Buzz9191 commented 9 months ago

Here I turned the controller on and off a couple times, after each shutdown I had to start the HC again. HandheldCompanion-20231123.log

CasperH2O commented 9 months ago

I don't see a crash in the log, but the last thing that is stated is indeed the disconnection.

2023-11-23 18:04:08.531 +03:00 [DBG] HidDevice removed: Nintendo Wireless Gamepad
2023-11-23 18:04:08.533 +03:00 [DBG] Settings HIDInstancePath set to 
2023-11-23 18:04:08.534 +03:00 [DBG] Generic controller Nintendo Wireless Gamepad unplugged
2023-11-23 18:04:08.534 +03:00 [DBG] Controller unplugged: Nintendo Wireless Gamepad

I see you are running the latest public 0.18. Quite a bit of rework and adjustments have been made to the controller management in the mean time in the code. I recommend you wait until an update is available to see if the problem persists.

CasperH2O commented 7 months ago

@Buzz9191 may I ask you if you still have this problem with the latest HC (0.20.3.0)?

Buzz9191 commented 7 months ago

@CasperH2O I just tried again, unfortunately nothing changed.

Valkirie commented 7 months ago

@Buzz9191 any crash dumps on Mydocuments/HC/dumps ?

Buzz9191 commented 7 months ago

@Valkirie There are these file. HandheldCompanion.exe.14416.zip

LadyHylia commented 3 months ago

Chiming in to say that I have this problem with my official switch pro controller, and whenever the program crashes I need to restart my system to open it again. I'm on rog ally and I've attached a crash dump. HandheldCompanion.exe.5252.zip