Clear Filters
Clear Filters

drawing tablet - extract coordinates

15 views (last 30 days)
Naama
Naama on 23 Feb 2011
Commented: Umar on 18 Jul 2024 at 10:56
Hi,
I am trying to extract X Y drawing coordinates from a tablet (sort of touchscreen) that is connected to my computer using a USB connection. It is not a wacom tablet (so I can't use the great wintabmex functions). Does anyone have an idea on how to extract this data to matlab?
Thanks! Naama
  2 Comments
Walter Roberson
Walter Roberson on 23 Feb 2011
What kind of tablet is it then?
I would hazard a guess that it creates a virtual serial port and communicates via serial -- that was a common design for non-USB tablets.
Umar
Umar on 18 Jul 2024 at 10:56
Hi Naama,
Try using Psychtoolbox PsychHID functions because it will help you read the raw data from the tablet, including the X Y coordinates of the drawing. For more information PsychHID function, please refer to
http://psychtoolbox.org/docs/PsychHID-Devices
http://psychtoolbox.org/docs/GetTouchDeviceIndices
http://psychtoolbox.org/docs/PsychHID
Please let me know if you have any further questions.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!