I want to use events generated by Windows 10 touchpad gestures in QT (C++, Visual Studio):
- two finger pinch on touchpad for zoom
- two finger pan on touchpad for panning
The QT documentation / QTCreator has an example for gestures. Apparently, the method shown using the QGesture class only works for touchscreens. I tested that straight on the example without any of my own code.
I suspect that QNativeGestureEvent somehow can do what I want, but there are no examples.
Can anyone confirm that QNativeGestureEvent is the way to solve my task?