Victrid / splatplost

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

Fix pairing issues with switch version 12+ #10

Closed Victrid closed 2 years ago

Victrid commented 2 years ago

The plotter cannot be connected with switch for version 12+.

Behaviour When program is running to "Open the pairing menu on switch.", after the pairing menu is opened, the program cannot connect correctly.

Problem This is caused due to broken dependency joycontrol.

This issue is posted in order to replace:

No new issues on pairing will be handled if it's the same behaviour until this issue is solved.

SuperOkazaki commented 2 years ago

Has upstream joycontrol found a solution for the pairing problem, or is this an issue that needs to be solved from scratch? Thank you for your work by the way.

Victrid commented 2 years ago

Has upstream joycontrol found a solution for the pairing problem, or is this an issue that needs to be solved from scratch? Thank you for your work by the way.

@SuperOkazaki I see some fork of upstream joycontrol library may have a solution, while it might be not as compatible as the original one. Maybe this need to be somehow altered to use.

SuperOkazaki commented 2 years ago

@SuperOkazaki I see some fork of upstream joycontrol library may have a solution, while it might be not as compatible as the original one. Maybe this need to be somehow altered to use.

Gotcha. Regular joycontrol is broken for the obvious reason, but while NXBT’s interface seems to be broken (out of date dependencies and broken on Python >=3.10) its actual bluetooth connection code works. I can’t get NXBT’s interface to function but I was able to get its controller demo working on my 14.0.1 Nintendo Switch, so maybe you can look at their code to see how they’re accomplishing it.

Victrid commented 2 years ago

Thanks for your advice! That would help a lot fixing the plotter!

Takumi Okazaki @.***>于2022年8月26日 周五14:20写道:

@SuperOkazaki https://github.com/SuperOkazaki I see some fork of upstream joycontrol library may have a solution, while it might be not as compatible as the original one. Maybe this need to be somehow altered to use.

Gotcha. Regular joycontrol is broken for the obvious reason, but while NXBT’s interface seems to be broken (out of date dependencies and broken on Python >=3.10) its actual bluetooth connection code works. I can’t get NXBT’s interface to function but I was able to get its controller demo working on my 14.0.1 Nintendo Switch, so maybe you can look at their code to see how they’re accomplishing it.

— Reply to this email directly, view it on GitHub https://github.com/Victrid/splatplost/issues/10#issuecomment-1228100649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJPRUJBR7QZNHHLLNDVSZN3V3BOZVANCNFSM57VEJL4Q . You are receiving this because you authored the thread.Message ID: @.***>

-- 蒋圩淏 @. @.

Victrid commented 2 years ago

I've adopted NXBT's controlling interface, and is now running some tests. After testing finished i'll push it and let you now.