summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-09-03 21:30:38 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-04 10:13:54 +0000
commita7b3f4e3c3b4f41fa35869d76f3b942512a4d710 (patch)
tree235e3f3f57f5c119905df18e45fa8595d6506f5f
parent14e2db1f6fca2b7dbd3a14e6e3d13561f1b241b4 (diff)
doc: Add the PixelScroll device capability (new in 6.2)
Followup to 69c833dae91d004b48f815e0156d6caeb4cdb491 Task-number: QTBUG-72167 Task-number: QTBUG-87646 Change-Id: I4ac7cbacd6dc1407ad3b565674a6d6494ec8857f Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 673ed80fa42a77c92256388d8dff03a3c1651941) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/gui/kernel/qinputdevice.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputdevice.cpp b/src/gui/kernel/qinputdevice.cpp
index 9dcf288d00..4505a6b568 100644
--- a/src/gui/kernel/qinputdevice.cpp
+++ b/src/gui/kernel/qinputdevice.cpp
@@ -101,6 +101,11 @@ QT_BEGIN_NAMESPACE
\value Scroll
Indicates that the device has a scroll capability.
+ \value PixelScroll \since 6.2
+ Indicates that the device (usually a
+ \l {QInputDevice::DeviceType::TouchPad}{touchpad})
+ scrolls with \l {QWheelEvent::pixelDelta()}{pixel precision}.
+
\value Hover
Indicates that the device has a hover capability.