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

QGamepadManager does not detect gamepad connections and disconnections

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.0
    • GamePad
    • None
    • OS: Ubuntu 20.04 LTS
      Qt: 5.15.0
      Gamepad: Moga Pro Gamepad (bluetooth connection)
    • Linux/X11

    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.

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            jeff.lalo Jeff Lalonde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes