Seytonic / malduino

All the Malduinos!
MIT License
208 stars 50 forks source link

How is the exact syntax of the mouse function? #5

Open Saikomorisan opened 7 years ago

Saikomorisan commented 7 years ago

Hi Guys, I want to ask about the syntax to add mouse movement function. I have to write, (MOUSE X example Y example) or (MOUSE example exapmple). Thanks and regards.

spacehuhn commented 7 years ago

Example: Mouse 100 -100 will move the mouse cursor by 100 pixels on the X axis (to the right) and -100 pixels on the Y axis (upwards). The mouse cursor usally starts at the middel of the display.

Saikomorisan commented 7 years ago

Thanks for the answer, now that I understand more I see that it is complicated use this function I use it in android, firstly capturing the cursor positions in X and Y so that the Malduino replicates them but only moved it to any direction.