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

No way to get QGamepad device name from QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.11.1
    • GamePad
    • None

    Description

      QGamepad has a property connectedGamepads that returns a QList<int> of device IDs.

      There is a gamepadName to turn that into a string, but this function is not callable from QML.

      So at minimum it'd be nice to mark this Q_INVOKABLE so it works from QML, but better still would be to expose a DataModel that is directly usable to display all gamepads in a human-friendly way.

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            pepijndevos Pepijn de Vos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes