Multitouch support on OS X

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Davidashe
Posts: 5
Joined: Wed Feb 06, 2013 8:38 pm

Multitouch support on OS X

Post by Davidashe » Wed Feb 06, 2013 8:46 pm

Is there a way to detect multitouch on OS X?

I have a multitouch screen (pqlabs G4) connected to a Mac mini and want to be able to detect multiple touches and movements.

Any thoughts?

Thanks.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Multitouch support on OS X

Post by shaosean » Thu Feb 07, 2013 7:09 am

If the current engine does not support it, you will have to wait for an update or get an external written..

Davidashe
Posts: 5
Joined: Wed Feb 06, 2013 8:38 pm

Re: Multitouch support on OS X

Post by Davidashe » Tue Feb 12, 2013 11:03 pm

Thanks for the reply.

I have the screen manufacturers SDKs (C/C++, Objective-C, Flash/Flex/AIR, Java). Can anyone point me to good introductions on how I could use these to write an external?

Thanks

D.

robertmartin1
Posts: 1
Joined: Sat Apr 06, 2013 2:09 pm

Re: Multitouch support on OS X

Post by robertmartin1 » Sat Apr 06, 2013 2:19 pm

If you want to implement the code for multi-touch programming then you have to define several condition and implement each condition using if---else statements like a sample code for left and right movement could be:
if( right-drag || left-swipe ){
/*run code*/
}
else if( left-drag || right-swipe ){
/* run different code */
}
else if( top-drag || top-swipe ){
/* run other code */
}
else{
/* do nothing */
}

Davidashe
Posts: 5
Joined: Wed Feb 06, 2013 8:38 pm

Re: Multitouch support on OS X

Post by Davidashe » Mon Apr 22, 2013 11:46 pm

Thanks Robert Martin for the hint...

Could you give a more concrete example?
For example, if I have two images on a card, and I have four touches (two on each image) that might be, for example, pinches...

how do I detect the independent actions on the two images?

Thanks

D.

Post Reply

Return to “Mac OS”