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

My USB controller isn't working? #29

Open
Ryzee119 opened this issue Oct 30, 2020 · 1 comment
Open

My USB controller isn't working? #29

Ryzee119 opened this issue Oct 30, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Ryzee119
Copy link
Owner

Ryzee119 commented Oct 30, 2020

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:

case JoystickController::UNKNOWN:

A planned feature is the ability to parse https://github.com/gabomdq/SDL_GameControllerDB to support most HID controllers out of the box!

@Ryzee119 Ryzee119 added the documentation Improvements or additions to documentation label Oct 30, 2020
@Ryzee119 Ryzee119 pinned this issue Oct 30, 2020
@RobertDaleSmith
Copy link

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.

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

No branches or pull requests

2 participants