openframeworks / openFrameworks

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

TouchMoved() evaluating twice in iOS #6236

Open sourya-sen opened 5 years ago

sourya-sen commented 5 years ago

The TouchMoved() block is evaluating twice for each time touch has moved. I can confirm by printing out the touch.x and touch.y parameters from the this block - it always prints it out twice (but never more than that).

bakercp commented 5 years ago

Please check out ofxPointer. It now supports a host of UITouch feature on iOS including coalesced and predicted touches, pressure, tilt, estimated property updates, etc.

https://github.com/bakercp/ofxPointer