Moves the cursor on a connected computer. The motion onscreen is always relative to the cursor's current location. Before using Mouse.move() you must call Mouse.begin()
Mouse.move(xVal, yVal, wheel)
- xVal: amount to move along the x-axis. Allowed data types: signed char.
- yVal: amount to move along the y-axis. Allowed data types: signed char.
- wheel: amount to move scroll wheel. Allowed data types: signed char.
※ NOTES AND WARNINGS:
When you use the Mouse.move() command, the Arduino takes over your mouse! Make sure you have control before you use the command. A pushbutton to toggle the mouse control state is effective.
※ ARDUINO BUY RECOMMENDATION
|Arduino UNO R3 Buy on Amazon|
|Official Arduino Starter Kit Buy on Amazon|
|ELEGOO UNO R3 Starter Kit Buy on Amazon|