Skip to content

Commit

Permalink
Windows QPA/wintab: Register tablet devices
Browse files Browse the repository at this point in the history
Inherit a class from QPointingDevice with a shared pointer
to the data for a physical cursor.

As a drive-by, keep the event time in QWindowsTabletSupport
for leave proximity events that do not have a time associated.
The previous code was relying on QWindowSystemInterface for
this, which may be at odds with the tablet's time.

Refactor and streamline the code a bit.

Task-number: QTBUG-46412
Change-Id: I2f4fab25a49a9d9f1befbd7fc040e8eb23be71ff
Reviewed-by: Shawn Rutledge <[email protected]>
  • Loading branch information
FriedemannKleint authored and ec1oud committed Oct 20, 2020
1 parent e887300 commit abb5f0d
Show file tree
Hide file tree
Showing 2 changed files with 231 additions and 117 deletions.
Loading

0 comments on commit abb5f0d

Please sign in to comment.