Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9010599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:30:19+00:00 2026-06-16T02:30:19+00:00

I have an a demo in Matlab that I would like to send multiple

  • 0

I have an a demo in Matlab that I would like to send multiple touch events from (to the operating system) as if someone was touching the screen. I want to be able to supply 5 to 10 touch points and their coordinates.
How can this be done on a machine without a touch input hardware but with the touch drivers installed … ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:30:21+00:00Added an answer on June 16, 2026 at 2:30 am

    This seems to be somewhat more complicated than one might imagine.
    Currently the best solution on Windows 7 uses MultiTouchVista and TUIO.

    1) Download MultiTouchVista

    2) Activate Pen and Touch

    3) Run Multitouch.Service.Console.exe

    4) Run Multitouch.Driver.Console.exe

    5) Run Multitouch.Configuration.WPF.exe and choose TUIO

    6) Download oscsend for sending OSC frames as required by TUIO.

    Here is some sample code to send 5 touch points to the screen in a loop.

    clear all
    u = udp('127.0.0.1',3333);
    fopen(u);
    fprintf('Opened\n');
    pause(0.5);
    n = 0;
    
    %%
    pause(5);
    while 1
    
        x = 0.5;
        y = 0.5;
    
        for t = -0.2:0.01:0.2
            oscsend(u , '/tuio/2Dcur' , 'siiiii' , 'alive' , 5*n,5*n+1,5*n+2,5*n+3,5*n+4);
            oscsend(u , '/tuio/2Dcur' , 'sifffff' , 'set' , 5*n,   x + t, y - 0.2, 0, 0, 0);
            oscsend(u , '/tuio/2Dcur' , 'sifffff' , 'set' , 5*n+1, x + t, y - 0.1, 0, 0, 0);
            oscsend(u , '/tuio/2Dcur' , 'sifffff' , 'set' , 5*n+2, x + t, y      , 0, 0, 0);
            oscsend(u , '/tuio/2Dcur' , 'sifffff' , 'set' , 5*n+3, x + t, y + 0.1, 0, 0, 0);
            oscsend(u , '/tuio/2Dcur' , 'sifffff' , 'set' , 5*n+4, x + t, y + 0.2, 0, 0, 0);        
            oscsend(u , '/tuio/2Dcur' , 'siiiii' , 'fseq' ,  5*n,5*n+1,5*n+2,5*n+3,5*n+4);
            pause(0.01);        
        end
    
        n = n + 1;
        fprintf('Sent\n');
        pause(1);
    end
    
    %%
    
    fclose(u);
    fprintf('Closed\n');
    

    You might not see anything except for a moving mouse but the operating system is receiving the touches and if you open one of Microsoft’s Touch-Pack examples you can see the multiple touch points. Heres a screen shot from FruitNinja Lite

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one Demo app download from developer.apple.com I have problme that this app
I have a demo in JS Bin. http://jsbin.com/ivigab/1/ What I would like to do
I have a demo that runs off of a USB drive and I would
I have a demo mysql database the I would like all users to be
I have got a demo script that lets me authorize with my app and
I have a MATLAB GUI and a separate application that writes data to a
I have downloaded demo for Kal calendar from source code API at github and
I have a demo server where I put samples of my apps, I send
Does anyone have a demo of a jQuery accordion that cycles through content automatically
That's basically it. I have a demo up here . I have been going

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.