Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57338

Qt Gamepad doesn't work with many gamepads and doesn't react to some buttons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.7.0, 5.8.0 Beta
    • Fix Version/s: None
    • Component/s: GamePad
    • Labels:
      None
    • Environment:
      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).

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            janichol Andy Nichols
            Reporter:
            timure Timur Enikeev
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes