openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.89k stars 2.55k forks source link

iOS : Single Touch Recognized as Double Touch on Second Touch Location Change on Simulation #7871

Closed azuremous closed 7 months ago

azuremous commented 7 months ago

As you can see from the video, a double touch decision occurs unconditionally on the second touch even though it is a single touch. It does not occur after that, but occurs when you change the location again.

https://github.com/openframeworks/openFrameworks/assets/319589/8f5cfe2b-ce08-4df6-8a10-46c30231c652

Is it a problem that only occurs in simulations?

I tried logging in both of xiOSGLKView and ofxiOSEAGLView to see what is causing this problem, but I can't check the log.

checkDoubleTouch

of ver 0.12.0

danoli3 commented 7 months ago

Yeah I think this is just an issue on Simulator as touch event and even tapCount is all coming from Apple's events