|
Post by Mercobots on Nov 9, 2016 0:29:41 GMT
Hello!
I think ankulua doesn't have any method to drag and move the cursor(finger) around the screen using axis , so i made this little trick, not the best but he does the work
so lets start :
-- drag longClick(Location(100,100))
-- Move right for x=1,10 do touchMove(Location(100,200 + x)) end
-- Move down for x=1,10 do
touchMove(Location(100 + x,200))
end
-- drop stopLongClick()
PROS
- Both methods longClick and touchMove accept PSMRL
CONS
- Since the 2 parameter of touchMove only accept seconds instead milliseconds it can be very slow , you will need double the axis value of location
if anything similar already exist i will be glad to know
thank you
|
|