@mitu hello again, I was finally able to connect my DOBE-TNS-19252C after many attempts. In case anyone is having the same problem, the adapter Mayflash Magic-NS-2 did the trick in my case. I connected the controller to the adapter and the adapter to the Rpi, all via USB, and it worked like a charm. I was able to configure the input of my controller without a problem.
Regarding the problem with Joycons, and in case it is of help, I’m using clones and not the official ones. I tried connecting them while booting and afterwards, both without success.
Thank you so much for your help!