Open Ryzee119 opened 4 years ago
Any investigation or work started on implementing Nintendo Switch controllers on tinyUSB? I'd love to use all the Nintendo Switch controller options on my Nintendo 64.
I thought it would be as simple as implementing PS4 but appears that it requires at least an extra handshake step.
~~If it's a standard Xbox360/XBONE like controller but with non-standard PID/VID you can try simpling adding the PID/VID here: https://github.com/Ryzee119/USBHost_t36/blob/8fe414477b8b3e1e4e404e2a2fbe298e8e5b3b39/joystick.cpp#L40~~ (Shouldnt ever be needed anymore)
If it's a generic HID controller please use this tool https://www.generalarcade.com/gamepadtool/ and copy the mapping string in your issue report. You can attempt to map it yourself here: https://github.com/Ryzee119/usb64/blob/3914ac6ddde79f6a64d6be1579b007c61bf1182b/src/input.cpp#L366
A planned feature is the ability to parse https://github.com/gabomdq/SDL_GameControllerDB to support most HID controllers out of the box!