it seems that there is no easy way in Qt to receive pointer events in relative mode, a
feature which is supported by all desktop OS:
- Windows: https://docs.microsoft.com/en-us/windows/uwp/gaming/relative-mouse-movement
- macOS: kCGMouseEventDeltaY
- X11: with XF86DGADirectMouse
- Wayland: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/unstable/relative-pointer/relative-pointer-unstable-v1.xml
It would be very useful if Qt had an API to temporarily switch from / to relative mouse movement mode, as well as for locking the pointer to a position (à la https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml) but right now unless mistaken it does not seem like this is the case ?