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

Help with Joycon Issue #156

Open
GustaKir opened this issue Jul 17, 2024 · 2 comments
Open

Help with Joycon Issue #156

GustaKir opened this issue Jul 17, 2024 · 2 comments

Comments

@GustaKir
Copy link

So, I have some third party joycon that I bought, and apparently both Left and Right Joycon are being detected as the same? input, A friend looked into it and apparently it has to do with byte 3 instead of 5 and reporting as a right joycon for the subcommand 0x02. Can I fix those issue by myself by inserting some sort of codes or something into the joycon?

@WindowStations
Copy link

Maybe you could use the product id of the device to identify, but I'm not familiar with the source code here to implement that. I am storing the product id in a UDT, so I can branch them separately when needed.

@WindowStations
Copy link

Byte 13 from command 0x02 has left/right information too. If the left nibble is non-zero then it is a left Joy-Con. If the right nibble is non-zero then it is a right Joy-Con. That is what I'm seeing consistently through older native code.

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

No branches or pull requests

2 participants