Detectiong right/left clicking the mouse wheel
Solved
QML and Qt Quick
-
wrote on 17 Nov 2022, 18:33 last edited by Creaperdown
Hey, my mouse is able to right and left click the wheel (afaik. also called tilt wheel or horizontal scrolling). Is there a way I can differentiate between those and normal scrolling in a MouseArea's
onWheel
slot? -
wrote on 17 Nov 2022, 18:56 last edited by
I found the solution. The
angleDelta
property has the x coordinate not 0 when the horizontal scroll was used.
2/2