multi-touch-dev team mailing list archive
-
multi-touch-dev team
-
Mailing list archive
-
Message #00978
Re: Multi-touch with uTouch
Hi and thank you so much.
I began to develop my application and I have a few more questions.
To receive touch events I begin like this :
*////*
*geis = geis_new(GEIS_INIT_TRACK_DEVICES, NULL);*
*subscription = geis_subscription_new(geis, "touch",
GEIS_SUBSCRIPTION_CONT);*
*geis_subscription_activate(subscription);*
*////*
Now I have to use a filter if I want to receive just simple touch events?
I think I have to use GEIS_GESTURE_PRIMITIVE_TOUCH or GEIS_GESTURE_TOUCH to
know touch properties like Up and Down using *geis_touch_attr()*. How can I
subscribe to this data?
So, we subscibe to all gestures and we filter the gesture we want, that's
right?
In resume, I want to subscribe to a structure telling me fingers position ,
their ID, ant if it's a Down, Move/Update or Up but, in my mind, we only
receive recognized gestures and not events.
With that, when i will have a sequence of events, I will identify getures.
Regards
Benjamin