Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Using mouse as a relative position device



  • I am developing an app on Qt5.9 running on Weston/Wayland environment in an embedded Linux platform. The application requires relative position (instead of absolute) from the mouse. How do I approach this from my Qt app? Obviously the display server (Weston) is sending absolute positions. I could change the mouse driver to generate relative positions, but there has to be a way to achieve this sole in Qt.


Log in to reply