Open fA1sEr opened 4 years ago
Thanks for your report. We will fix it.
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)
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 thanself._joycon_device = self._open(vendor_id, product_id, serial=None)