Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.15.0
-
None
-
OS: Ubuntu 20.04 LTS
Qt: 5.15.0
Gamepad: Moga Pro Gamepad (bluetooth connection)
Description
The QGamepadManager signals connectedGamepadsChanged, gamepadConnected and gamepadDisconnected are not emitted when I connect and disconnect my gamepad. I have verified that /dev/input/js0 is created when the gamepad is connected and deleted when the gamepad is disconnected, but still the QGamepadManager does not detect the change.
The only way the gamepad shows up in QGamepadManager's connectedGamepads is if the gamepad is connected before the Qt application is launched. In that case the QGamepad button and axis signals work fine, but the connectedChanged signal is not emitted when the gamepad is disconnected.