nneonneo / ofxWin8Touch

Windows 8 touch driver for OpenFrameworks using WM_POINTER events
21 stars 6 forks source link

touch id #2

Closed natxopedreira closed 2 years ago

natxopedreira commented 8 years ago

Hi

The touch.id its a unique value that increments from time..... Its there a way to change that so that the id of the touch its constant?

I means:

So its more like the number of touch in this moment, i want this because in oF mobile implementation (android and iOS) the touch.id works in this way. And i can use a gestures addon to have pinch, pan,.... right now i can not make the gestures works with this because the touch.id implementation

thanks!

nneonneo commented 6 years ago

Which gesture addon has a problem with this? Generally, I don't believe touch.id has a consistent implementation across platforms, so relying on its value (instead of just using it to track a single touch over time) is probably not a good idea.

mccap079 commented 5 years ago

yeah, i'm on win10 and touch.id persists at the os level, counting the number of touches since boot. since i already did the work, here's example_basic with a new touches container for current touches only: src.zip