Change the default WheelHandler.acceptedDevices to support touchpads


Since the beginning (5d45aa1a6400b9fdb9bafa0559675996aff5e58a) the
default for acceptedDevices was only Mouse. But that proved to be
unexpected in some cases. A developer who tested it only with a real
mouse but not on a laptop touchpad might be surprised that it didn't
work. And on some platforms, Qt is so far not able to tell them apart
reliably. Let's just accept both by default to avoid surprises.

[ChangeLog][QtQuick][Event Handlers] The default value of
WheelHandler.acceptedDevices has changed to Mouse | Touchpad.
Old behavior can be restored by setting it back to only Mouse.

Fixes: QTBUG-142125
Task-number: QTBUG-87646
Task-number: QTBUG-112432
Change-Id: Ice323cc3430743f7dbe41bcf2d521f6af19ca0bd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Marco Martin <mart@kde.org>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
commit3b0c27ea44c48511111db4481647ba969c146ee9
parent621a9ac92cf4135abd1cd22248a67fbf71b13963
authorShawn Rutledge <shawn.rutledge@qt.io>
committerShawn Rutledge <shawn.rutledge@qt.io>
commit timeTue, 20 Oct 2026 17:56:09 +0000