Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.7.0, 5.8.0 Beta
-
None
-
Linux (Ubuntu 14.04 LTS amd64), Qt 5.7.0 and 5.8.0 beta
Description
I tried to launch this example to learn how does QtGamepad work.
It should detect all gamepads and print events of all of them.
It thinks that only one gamepad has been connected, but I have connected two gamepads.
auto gamepads = QGamepadManager::instance()->connectedGamepads(); qDebug() << "Number of gamepads:" << gamepads.size();
prints "Number of gamepads: 1"
If I press any button on one of them, it prints a message that button was pressed, but shows the same device ID.
And Qt doesn't react on my gamepad buttons 2 and 5 (as jstest numbers them).