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

Wired joy con wired status response expansion #145

Open
CoinOperatedGadget opened this issue May 26, 2023 · 0 comments
Open

Wired joy con wired status response expansion #145

CoinOperatedGadget opened this issue May 26, 2023 · 0 comments

Comments

@CoinOperatedGadget
Copy link

Currently the listed joy con values on the repo are just for the left joy con. The right joy con buttons and stick are actually located in different places. Through my own testing:

Byte 15:
Bit 0 - Y Button
Bit 1 - X Button
Bit 2 - B Button
Bit 3 - A Button
Bit 4 - ??? (Assuming SR/SL)
Bit 5 - ??? (Assuming SR/SL)
Bit 6 - R Button
Bit 7 - ZR Button

Byte 16:
Bit 0 - Minus Button
Bit 1 - Plus Button
Bit 2 - Right Stick Button
Bit 3 - Left Stick Button
Bit 4 - Home Button
Bit 5 - Capture Button
Bit 6 - ???
Bit 7 - ???

Byte 17:
Bit 0 - Dpad Down
Bit 1 - Dpad Up
Bit 2 - Dpad Right
Bit 3 - Dpad Left
Bit 4 - ???
Bit 5 - ???
Bit 6 - L Button
Bit 7 - ZL Button

Byte 18:
??? (Assuming something with the left stick?)

Byte 19:
Left Stick X value, nibble swapped as noted in repo

Byte 20:
Left Stick Y value

Byte 21:
??? (Seems to change with the Right stick??)

Byte 22:
Right Stick X Value nibble swapped

Byte 23:
Right Stick Y Value

That's all I needed for my uses but I could investigate the rest of the response pretty easily with my current setup. I have it hooked up to an FPGA acting as a console and I can play around with the controller continuously getting responses while I have an ILA running.

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

1 participant