Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. The Button ID of mouse during MouseMove
Qt 6.11 is out! See what's new in the release blog

The Button ID of mouse during MouseMove

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.9k 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.
  • A Offline
    A Offline
    aska
    wrote on last edited by
    #1

    Hi,

    I got a multi-touch screen which reports first touch point as BTN_LFET and second as BTN_EXTRA.
    For touch point position, ABS_X, ABX_Y is for the position of first point and ABS_RX, ABS_RY is for the position of second point.

    For now, I modified qmouse_linuxinput.cpp for using this device, and I convert QMouseEvent into Qtouchevent
    in my application.

    My question is when I get the QEvent::MouseMove event, the button always returns zero (QT's document confirms it)
    So I can't know the move position is for which finger touch point.

    How can I modify kernel of QT to return the button ID during mouse moving?
    Or there is a better way to get button ID during mouse moving?

    Sorry for my English and thanks for your kindly reply :)

    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