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

Analog pins incorrect on Joystick Mouse Example #1616

Open
KDMcMullan opened this issue Dec 16, 2023 · 0 comments
Open

Analog pins incorrect on Joystick Mouse Example #1616

KDMcMullan opened this issue Dec 16, 2023 · 0 comments

Comments

@KDMcMullan
Copy link

Either the schematic or the code is incorrect on https://docs.arduino.cc/built-in-examples/usb/JoystickMouseControl.

Schematic says A0 = vertical, A1 = horizontal.
Code says xAxis = A0, yAxis = A1

x is typically horizontal. y is typically vertical. (Unless you're talking about household radiators, which for some reason don't follow this Cartesian convention.)

I would fix it myself, but I don't see how to edit the code.

Hope this helps, or at least gets a giggle.

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