Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Detecting multiple touch screen geometry
Forum Updated to NodeBB v4.3 + New Features

Detecting multiple touch screen geometry

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 953 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sil20
    wrote on last edited by
    #1

    Hello.
    I am implementing a TUIO touch Interface to be abble to use simultaneously 2 touchscreens in windows 7. "TUIO Touch interface...":http://qt-project.org/forums/viewthread/33495/
    I am at the last step and I need to be abble do detect the Geometry of the virtual desktop, only including a touch interface.
    Just like illustrated hereafter, I have 2 tuio hardware but my virtual desktop is made of 3 virtual screens.
    In this case TUIO give a normalized coordinate global to all TUIO hardware

    So I need to get the Rectangle definition of the 2 virtual screens rectangle. I want my implementation to be abble to detect which virtual screens are "touchable". So more generaly I would like to get the definitions of the rectangles of all touch screens in a configuration.

    In the Windows API I found something like : GetSystemMetrics(SM_DIGITIZER) or EnumDisplayMonitors() but I could get it working so far.

    How couls I acheive this in QT ??

    In the following illustration, the green screens are equiped with TUIO Touch hardware, the grey one is not. The top left corner is the (0,0)
    !http://img819.imageshack.us/img819/6706/irzc.jpg(http://img819.imageshack.us/img819/6706/irzc.jpg)!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved