Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.13.0
-
None
-
Qt 5.13.0 running on Raspberry Pi 4 with EGLFS platform Plugin
Description
Hi,
I am trying to introduce Gamepad-based controls to my application. On Linux PC (x11), using Qt 5.10.1, I have successfuly introduced the application with such controls. My approach is using
gamepad.mouseButtonPressed and gamepad.mouseButtonReleased (QML) for the clicks, and QCursor::setPos(x, y) (C++) for the mouse movement when gamepadMouse.mousePosition changes.
I believe the problem is not related to gamepad-based controls, it is solely regarding QCursor::setPos function.
This works in Qt 5.10.1 on Linux PC; but this approach makes containsMouse to not trigger on Qt 5.13.0 (Raspberry Pi 4 - EGLFS platform plugin).
I am using the exact same code for both, one works, one don't. Therefore, I believe this is a point where I could ask for the expert help. Thanks in advance.