|
Post by iamjag on Sept 22, 2017 2:19:48 GMT
-
I'm not sure if this is already supported but I haven't seen this in API References. If this is still not supported, please develop this function. The application for this function is limitless.
The function: A getTouchEvent that only check if the screen has been touched(it does not actually wait for the touch to happen). I mean like in the following scenario.
function myLoop() while(not checkForTheTouch())do doThis() doThat() doMe() doYou() end end
doNoliMeTangere() myLoop() <<<< Back to my loop again.
I want to be able to disrupt my bot but I don't want to end it. Just to setup the screen and the bot can continue again.
Regards
|
|
|
Post by AnkuLua on Sept 22, 2017 3:05:48 GMT
|
|
|
Post by iamjag on Sept 22, 2017 4:00:51 GMT
I checked this function consider it already. But my requirements is much complex than simple interaction. I go as far as my bot need to react to the following. a tap anywhere a double tap. a tap at the corner a double tap at the bottom a tap at the left and a tap at the right a triple tap simple gesture a swipe a swipe at the bottom and at the top. a triangle swipe a circle as far as I know, I can also use the brightness, battery level, time and charger connectivity. But the touch event is much cooler way. Don't you think? Regards, jAGHere
|
|