Skip to content
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

A bug when connect multiple joycon-pair #12

Open
fA1sEr opened this issue May 27, 2020 · 2 comments
Open

A bug when connect multiple joycon-pair #12

fA1sEr opened this issue May 27, 2020 · 2 comments

Comments

@fA1sEr
Copy link

fA1sEr commented May 27, 2020

https://github.com/tokoroten-lab/joycon-python/blob/051f5fc6ff0c6252c997dd58d7ff35f58ab28c91/pyjoycon/joycon.py#L43

when I connect two pairs of joycon, some joycon read wrong number.
Maybe
self._joycon_device = self._open(vendor_id, product_id, serial=self.serial)
rather than
self._joycon_device = self._open(vendor_id, product_id, serial=None)

@tocoteron
Copy link
Owner

Thanks for your report.
We will fix it.

@NoctalIvan
Copy link

I just tried editing the lib with the suggested change locally, the bug is still here I'm afraid.

When trying to connect multiple joycon (same vendor_id, product_id but different serial), we get a OSError: open failed
(MacOs Catalina)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants