Victrid / splatplost

A software-based SplatPost plotter.
GNU General Public License v3.0
191 stars 17 forks source link

Joycontrol unable to connect with Switch update 12.0.0 #6

Closed day210 closed 2 years ago

day210 commented 3 years ago

It had been post here and someone give a solution. But I have no time to test whether it can work(just test once and not work), and if it can instead the joycontrol directory in this repositories.

Victrid commented 3 years ago

Thanks for your notice! We'll update the code after the joycontrol library merging the patch.

Victrid commented 3 years ago

It looks like the original library hasn't been updated in a long time. We will now base the current library on the pull request you mentioned.

Victrid commented 3 years ago

I've tested the new fix, but encountered with some bluetooth issues. The issue mentioned this in the original repo says that it can still reconnect to switch if using reconnect address. After executing once our script should be able to using this reconnect address, so my current connection did not fail. Before the final solution reached, please do not remove the .reconnect file.

JackRBlack commented 3 years ago

This is the first time I use this program. With the current problem, is it normal to see the following result with no pairing?

Open the pairing menu on switch.
[Errno 98] Address already in use
Fallback: Restarting bluetooth due to incompatibilities with the bluez "input" plugin. Disable the plugin to avoid issues. See https://github.com/mart1nro/joycontrol/issues/8
_

I guess the error mentioned above is caused because I'm using a bluetooth keyboard. But I think it can fix itself by restarting bluetooth, am I right?

Victrid commented 3 years ago

This is the first time I use this program. With the current problem, is it normal to see the following result with no pairing?

Open the pairing menu on switch.
[Errno 98] Address already in use
Fallback: Restarting bluetooth due to incompatibilities with the bluez "input" plugin. Disable the plugin to avoid issues. See https://github.com/mart1nro/joycontrol/issues/8
_

I guess the error mentioned above is caused because I'm using a bluetooth keyboard. But I think it can fix itself by restarting bluetooth, am I right?

The restart is done by the program. Your problem should lie in the bluez plugins. That's an infamous module and just randomly changes between updates breaking things. My earpods can never survive after updating. You could retry with the original suggestion, and with removing the .reconnect file if you have one. The address should be generated if it could not find the .reconnect file.

That's not the problem here mentioned, and even if you passed your issue, the version 12 problem could not be solved currently. Switch needs to recognize the emulated controller (by the address) before updated to version 12+ to continue using it.

patriziia commented 3 years ago

Someone solved the problem. I tested it on Pi 3B and worked perfectly. Maybe you can use this version to solve the problem. https://github.com/mart1nro/joycontrol/pull/110

day210 commented 2 years ago

the repo formatcom/joytransfer mentioned in Poohl/joycontrol/issues/11 maybe worked

andriusribas commented 2 years ago

I tried to replace the files of the joycontrol folder with the ones from formatcom/joytransfer but it didn't work as it asks for a joycontrol.debug module. What am I doing wrong, which are the steps to get splatplost working?