Tough Touch Help!
-
I'm trying to read touches on the Tough screen, but when I start the code, it already comes with values of X (52) and Y (154) as if there was a touch.
By chance, it's exactly in the area where I expect it to be touched...
When I read the data in:I get the following response: (52.0, 0.0, 154.0, 0.0)
I'm trying to read the touch like this:
Thank You!
-
I noticed that if I turn Tough off and on again, the initial coordinates are -1 and 1, but if I just load a new version of the code, the last coordinates remain...
How could I clear the coordinates at the beginning of the code?I also couldn't use the following block:
Thanks for any help!
-
Hello @cryptospok
please find an example in the UIFlow2 Project Zone: M5ToughTouchTest_UIFlow2.1.7 showing how to get rid of old / duplicate touch events.
Thanks
Felix