Multi-Touch fingers

21 views
Skip to first unread message

carles.g...@gmail.com

unread,
Nov 11, 2015, 4:35:49 AM11/11/15
to Protocoder
Hey,
I'm looking for a multitouch solution similar as this one [https://victorcheung.igloocommunities.com/blogs/surface/usingmultitouchinandroidwithprocessing] any example or solution to finger detection?
Thanks

carles.g...@gmail.com

unread,
Nov 11, 2015, 5:31:17 AM11/11/15
to Protocoder, carles.g...@gmail.com
Could work use this processing code by the processing bridge?
and
May work for me to multiple UI butttons events. Is it this possible?

Cheers

carles.g...@gmail.com

unread,
Nov 11, 2015, 6:08:56 AM11/11/15
to Protocoder, carles.g...@gmail.com
Hehe!
Ok I've seen in the UI_Advanced_1 a nice example to detect the multiple finguers.

Here the code:

>//this is a touchable pad
>var pad = ui.addXYPad(10, 210, ui.screenWidth - 20, 400, function(e) {
> for (var i = 0; i < e.length; i++) {
> console.log(e[i].id + " " + e[i].x + " " + e[i].y);
> }
>});

So I can read from (e) thir values of all finger positions in real time.
Cool ^^!

I can imagine that UI buttons don't support multiple touch events isn't it?

Cheers

carles.g...@gmail.com

unread,
Nov 11, 2015, 7:34:37 AM11/11/15
to Protocoder, carles.g...@gmail.com
So, Buttons seem to work well capturing OnClick Events, but not sure about.
What I would like to have is a onPress event ( or on onChange ).
So then, if there is no, onPress or similar I will program it directly with the addXYPad info.
Thanks
Reply all
Reply to author
Forward
0 new messages