joaorb64 / joycond-cemuhook

Support for cemuhook's UDP protocol for joycond devices
MIT License
139 stars 19 forks source link

Stuck at: Looking for Switch Controllers #68

Closed firsttris closed 1 year ago

firsttris commented 1 year ago

Hey,

i saw your post in reddit, was immediately hooked, bought some controllers.

running arch linux 5.18.16-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +0000 x86_64 GNU/Linux Python 3.10.5 Kernel drivers no dkms-hid-nintendo

Controllers got detected correclty No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event20: Nintendo Switch Left Joy-Con /dev/input/event24: Nintendo Switch Right Joy-Con /dev/input/event26: Nintendo Switch Pro Controller

somehow your script got stuck at: Looking for Switch Controllers

i have not much python xp, but i tried to debug your script from top to bottom using print, figuring out whats wrong.

if found out if i comment out this line, the server starts: https://github.com/joaorb64/joycond-cemuhook/blob/master/joycond-cemuhook.py#L696

i dont even understand why we removing the device here.

any clue why it was not working for me out of the box?

best regards Tristan

firsttris commented 1 year ago

after rebooting it worked... no clue why