Getting pressure data from events
Posted: 01 June 2008 04:24 PM   [ Ignore ]
Rank
Joined  2007-10-25
Total Posts:  5
New Member

Is there any way of getting pressure data to flash application using Touchevent or any other method ?

I can get pressure values mentioned in TUIOCursor.as and TUIOObject.as by tracing but how can I use these values with TouchEvent ?

Profile
 
 
Posted: 01 June 2008 05:33 PM   [ Ignore ]   [ # 1 ]
Rank
Joined  2007-10-25
Total Posts:  5
New Member

I modified TUIOObject.as and TouchEvent.as in order to carry width, height values from TUIO.as to TouchEvent.

If I’m doing anything wrong or unnecessary please inform me before too late smile

Profile
 
 
Posted: 01 June 2008 05:46 PM   [ Ignore ]   [ # 2 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2291
Moderator

Yeah, that should work fine.

 Signature 

Follow me on:
My Website - Youtube - Twitter - Linkedin

Profile
 
 
Posted: 01 June 2008 10:59 PM   [ Ignore ]   [ # 3 ]
Rank
Joined  2007-10-25
Total Posts:  5
New Member

What is the exact relation between width height values ? It seems like one is negative other is positive and values has kind of distortion. Width value is always bigger.

Profile