We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be5e01c + 7d851b4 commit ddb0497Copy full SHA for ddb0497
build/shared/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino
@@ -69,8 +69,8 @@ void loop() {
69
lastSwitchState = switchState;
70
71
// read and scale the two axes:
72
- int xReading = readAxis(A0);
73
- int yReading = readAxis(A1);
+ int xReading = readAxis(xAxis);
+ int yReading = readAxis(yAxis);
74
75
// if the mouse control state is active, move the mouse:
76
if (mouseIsActive) {
0 commit comments