Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to write a Qt plugin to register a windows precision touchpad as a QTouchDevice and get QTouchEvents from it?
Forum Updated to NodeBB v4.3 + New Features

How to write a Qt plugin to register a windows precision touchpad as a QTouchDevice and get QTouchEvents from it?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 266 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.
  • R Offline
    R Offline
    reylo-cu
    wrote on last edited by
    #1

    Windows supports multi-touch capable precision touchpads. They are kind of common in modern laptops. Events coming from these touchpads are seen by QT as mouse and scrolling events. This is probably because Windows does not seem to be sending WM_TOUCH messages from user interaction with the touchpad. Access to multitouch data from these devices (number of touchpoints, coordinates, etc.) is possible using the raw input devices API and HID API.

    According to QTouchDevice documentation "It is the responsibility of the platform or generic plug-ins to register the available touch devices via QWindowSystemInterface before generating any touch events."

    Can someone point me in the right direction as for how to implement a plugin that creates a touch device for a precision touchpad, registers the touchpad device, and processes raw input data into touch events? Like this I could use the framework that QT provides for handling gestures.

    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