How do you require a two-finger touch to activate a control?
Thanks!
Requiring two touch events?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Requiring two touch events?
Can this be done?
:Todd
:Todd
Re: Requiring two touch events?
I'm really weak on multitouch, but from what I've been reading might this work?
1) record the IDs of each touch event.
2) record the timing of each touch event.
3) create an object that feels for touches in the following manner...
4) if two touch events happen on the object within, say, 500 milliseconds of eachother (maybe faster?), then the control is activated.
Sorry it's an idea and not code, I'm still struggling with how to track multiple touch events in unique variables... any help on that matter would be nice.
1) record the IDs of each touch event.
2) record the timing of each touch event.
3) create an object that feels for touches in the following manner...
4) if two touch events happen on the object within, say, 500 milliseconds of eachother (maybe faster?), then the control is activated.
Sorry it's an idea and not code, I'm still struggling with how to track multiple touch events in unique variables... any help on that matter would be nice.
Check out my LiveCode program, WriteSpire, on the App Store!
Re: Requiring two touch events?
observ3:
Thanks for the input. At least I have an idea now of what I'm trying to do.
I am currently coding at about a kindergarten level.
If anyone can provide a case scenario stack, it would be very much appreciated!
Thanks!
:Todd
Thanks for the input. At least I have an idea now of what I'm trying to do.
I am currently coding at about a kindergarten level.

If anyone can provide a case scenario stack, it would be very much appreciated!
Thanks!
:Todd