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

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.7.0, 5.8.0 Beta
    • GamePad
    • 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).

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            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