-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] BetterJoy stuck after automatic disconnect #24
Comments
Maybe this will fix it : If it still happens, set "DebugType" to "all" and upload the logs after it happens. |
it didn't fix it here's the log: |
For some reason you don't have the disconnected notification from hidapi after the power off... Is the light on the home button off on your controller after the automatic disconnect ? Does the controller still appear as connected in the bluetooth panel of Windows ? It's hard to fix without using a debugger. Do you have steps to reproduce the issue consistently since I haven't been able to reproduce it even once ? (I tried with a pro controller in bluetooth and autopower off enabled) |
Now I just noticed that sometimes I can't even connect before the first time (at least since the version you gave me). The light is always off after the automatic disconnect and it still appears as connected in the bluetooth panel. I don't really have steps to reproduce it, it seems random to me. Here I tried to connect the controller at 16:32.
|
I believe I'm having the same issue; I'll describe my experience: These are my logs: Automatic disconnect
Manual disconnect
|
I found a bug in hidapi which could cause this (I still can't reproduce on my end). |
I stopped the app, replaced all files and tried again. It didn't work the first time, so I tried a second one and the result is the same. There is no visible difference in behavior and the issue remains. |
This new build didn't fix it for me either. Also I think the stuck at closing is a separate issue because I just got it without evening connecting a controller. |
I've made many changes to power off/disconnect and some fixes, hope it helps : @jesuscc1993 If you still have issues, make a separate one as it's probably not related. The above changes could help both cases thought. |
The new build fixes half of the issue. Edit: here are the logs: LogDebug.txt
There are no new logs when I turn the controller on again for the first time. LogDebug.txt
|
Well for me it seems to have fixed the issue! |
Describe the bug
Sometimes when my controller is automatically disconnected, the change isn't displayed in Betterjoy. Betterjoy still shows the controller as connected and ready even though it is off. Further I can't connect the controller anymore. Also pressing X leaves me forever at "Closing...". Only ending Betterjoy through the task manager fully disconnects the controller and lets me connect to it again.
Controller (please complete the following information):
Logs
The text was updated successfully, but these errors were encountered: