docs-content icon indicating copy to clipboard operation
docs-content copied to clipboard

Analog pins incorrect on Joystick Mouse Example

Open KDMcMullan opened this issue 1 year ago • 0 comments

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.

KDMcMullan avatar Dec 16 '23 22:12 KDMcMullan