This project has moved and is read-only. For the latest updates, please go here.

Screen scaling not working for me

Sep 1, 2010 at 2:52 AM

I've installed Multi-Touch Vista and have written a small program that sends TUIO packets to the MTV service.  I have three issues:

1) From reading the TUIO docs, it appears that the TUIO protocol takes x and y coordinates scaled to the input screen size (ie TUIO x/y input 0.0 is 0 (left/top) and 1.0 is maximum resolution (right/bottom)), so that sending coordinates (0.0, 0.5) as x,y to the MTV service via the TUIO interface should make a touch point appear on the leftmost side of the screen halfway down from the top and (1.0, 0.5) as x,y should cause a touchpoint to appear on the rightmost side of the screen halfway down from the top (using the proper TUIO protocol inputs:  ' "set" ID x y X Y m ' of course).  I don't see that output.  If screen left was 0% and screen right was 100%, for some reason the aforementioned points appear at 10% and 45% respectively.  This looks like an issue with how the points are scaled back onto my output screen (ie the MTV system thinks the output screen resolution is less than it actually is).  How does one declare the proper output screen resolution to MTV?

2) MTV seems to assume that the primary screen in the Microsoft Virtual Screen is the screen where the user wants the touchpoints to appear.  How do I make them appear on the screen to my left in the Virtual Screen to my left, for example (ie the virtual display defined by the RECT (-800,0) to (0, 600) as opposed to the RECT (0,0) to (2560,1600)) ( Monitor 2)?

3) MTV will make touchpoints appear on my screen until I move the "real" mouse.  After I move the mouse for a second or so (no clicks) no more touchpoints are generated on the screen. With the MTV service in TUIO mode, is it supposed to work in conjunction with a standard mouse or do I have to choose one modality?

I'm running Windosw 7 64 bit (if it matters).



Sep 9, 2010 at 9:37 AM

dear JadeGolem

    I am a beginner, Can you tell how to wirte  a program that sends TUIO packets to the MTV  service .

Sep 9, 2010 at 5:37 PM

Check out  There are a bunch of reference client implementations you can use:

If you want to do it yourself, use the TUIO spec: You can just create a UDP socket to port 3333 on the machine where you've installed MTV and send it data in the TUIO format described there.

Sep 10, 2010 at 3:03 AM

thanks a lot for your reply .