Davidobot / BetterJoy

Allows the Nintendo Switch Pro Controller, Joycons and SNES controller to be used with CEMU, Citra, Dolphin, Yuzu and as generic XInput
Other
3.85k stars 341 forks source link

[BUG] Endless loop when reconnecting Joy-Con #758

Open Alucard2112 opened 3 years ago

Alucard2112 commented 3 years ago

Describe the bug If the Joy-Con are already paired with my computer and I merely reconnect them, BetterJoy will see them and tries endlessly to emulate a gamepad until one or both of the joy con disconnect (whyever). Only removing the Joy-Con from the computer an pairing them again will fix this bug. This also happens if the Joy-Con are paired and the computer restarts/is shut down and started again. It is not a huge deal but an inconvenience.

Expected behavior The Joy-Con should normally just be detected and an emulation should occur.

Controller (please complete the following information):

Davidobot commented 3 years ago

Are these 3rd party?

If not, windows update sometimes breaks BT, so try removing them from your devices and readding them

Alucard2112 commented 3 years ago

The Joy-Con are originals from Nintendo :) Removing them from my devices and readding them fixes the bug temporarily, until I disconnect the Joy-Con. I have to remove and readd them again if I want them to work properly.

Davidobot commented 3 years ago

Sounds like a problem with your adapter, rather than anything BetterJoy can fix.

HunterJames-Code commented 3 years ago

I am having the same issue, with a brand new cable, so I know for a fact it isnt a cable issue. Cable works fine on pc, but betterjoy breaks whenever I use it while plugged in.

vervecode commented 3 years ago

I am having the same issue, looping while connecting, can't actually ever get to use them as controllers.

SynthGal commented 3 years ago

I have a similar issue. Removing and re-pairing does fix it but when it occurs, the constant disconnecting and reconnecting makes BetteryJoy crash. I can't find any logs I can attach for more insight.

ETE-Design commented 3 years ago

@Davidobot Think the problem is the newest Windows 10 Update... Since I updated my joycon's haven't worked... And can't always rotate them in BetterJoy, so it leave one vertical and another horisontal :-( Also now get a lot of messages that it has low battery... Anyhow, is there a chance you will soon release a new version with all the new parts you have done? Or is there a "How To" Compile it by yourself in Windows Visual Studio Code?

quitroot commented 2 years ago

I understand this is an old problem. But it happens to me too. The joycon is original from nintendo. And this is the bluetooth adapter (UGREEN USB Bluetooth 5.0 Dongle): https://ae01.alicdn.com/kf/H0298eb86aaee40e78797c18587f92d64f.png Hope this has a solution because it's really inconvenient.

Thanks in advance

Alucard2112 commented 2 years ago

I just bought another adapter, just to make sure. I bought a Bluetooth 5.0 dongle from UGREEN and keep having the same problem. @Davidobot if it is a problem with the adapter, could you maybe tell us which one you are using? Maybe it is a problem with Bluetooth 5.0?

alexandrudaniel3 commented 2 years ago

Facing the same issue with multiple pairs of original joy cons. It isn't too annoying since re-pairing doesn't take more than a couple seconds, but it would be nice if there was a way to find out what causes the issue.

kalouni commented 2 years ago

I have the same problem. I have tried 4 different BT adapters, up to the latest version. I have uninstalled and reinstalled drivers for all of them. I've reinstalled betterjoy, updated... nothing works.

ragnorinki commented 1 year ago

So! Ive got an answer for WHAT the issue is, just no damn solution!!

Joycons (even the new ones) are BT 4.1 devices, we're all using BT 5.0 or better adaptors. The problem isnt a bug or issue with the dongle, which effortlessly connects using 4.1 protocols when we tell it to by manually connecting but it isnt smart enough to understand the connection requests initiated by the joycons. I think this issue would be a quick fix if one had the know how to update the joycons to send just the connection request using 5.0 protocols, which shouldnt be prohibited by hardware limitations.

this knowlege has brought me no closer to fixing the issue, but it definitely isn't a betterjoy problem and that is at least helpful re where to look