drawing tablet - extract coordinates

3 次查看(过去 30 天)
Naama
Naama 2011-2-23
评论: Umar 2024-7-18
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 个评论
Walter Roberson
Walter Roberson 2011-2-23
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 2024-7-18
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by