Feb
09
2010

by Pablo

MonoTouchLive, troubles with multitouch sensors

In this video can see how multitouch touchscreen send the mouse events only when the finger is removed over the screen
Mouse event are only trigered when you removed the finger.
This is what i call after-touch and can create big problem when you want activate some “momentary” button. For be more graphic……..you should imagine touch the piano but imagine the sound of notes, only is emited after remove your fingers from the keys!.

Also, you can see how multitouch is not accurate when have the fingers very close, this no is a big issue but can be under some situations when you use your fingers very close, in some multitouch software. (this is a bug from the Nextwindow multitouch sensor used on the video)

Under this next video you can see momentary buttons and how with standar mouse can activate the button, when i press left mouse click, button in the software is activated. You can see how not work.
The button is only activated when you remove the finger of the screen…………….if you need push the button and leave just pressed for some moment………..just not possible, the only way to do, is draging your finger without stop over the button. On video 3, i show the clear example about that

This is the best and clear example about what i explained before.
With real mouse, can click the button, and momentary button react perfectly to mouse events.
When try repeat using the touchscreen, just not work.
The only way leave the button pressed, is draging my finger over the button.

NOTE: i found similar troubles with capacitive sensors from company N-Trig.
N-Trig sensors are present in the major percent of portable multitouch market.
Computer on the video is HP Touchsmart 300-1000

UPDATE 10/02/2010
The solution:
Register aplication to receive WM_TOUCH instead WM_GESTURE mouse events.
Here the documentation.
http://msdn.microsoft.com/en-us/library/dd371581%28VS.85%29.aspx

Final step is disable “Press and hold for righ-clicking” from the Pen and Touch panel.

Thankyou to Dan Newton form Nextwindow for this information!

SECOND UPDATE UPDATE 10/02/2010
Under the VIDEO 1, aplication i show is PAINT, and you can see under that aplication touchscreen work aftertouch.
Somebody can think………..how is possible if that is a multitouch aplication and should be already registered to receive WM_TOUCH instead WM_GESTURE mouse events.
Yes, that is correct aplication is already registered, all what you need do is disable “Press and hold for righ-clicking” from windows Pen and Touch panel.
Now you can see on this video aplication ink the point on touch and not after touch:

Anyway, disable Press and hold for righ-clicking is part of the fix, you see work in this video due paint is aplication registered to receive WM_TOUCH instead WM_GESTURE mouse events.

After disable “Press and hold for righ-clicking” i check again with my software, but due no is aplication regsistered to receive WM_TOUCH, just continue without work.

Becarefull developers !
RegisterTouchWindow function doesn’t register the child windows!

Written by Pablo in: MonoTouchLive News |

10 Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

ad ad ad ad




adsense

Copyright © 2005-2009 Pablo Martin