QtGamepad ported to Qt 6

For a project of mine I need gamepad support. In the past, I’ve happily used QtGamepad, but that has not been ported to Qt 6. It’s not dead, but Andy (QtGamepad’s maintainer) wants to do some re-architecting for a Qt 6 release.

I need QtGamepad now, however, so I’ve ported it myself. It’s not a whole lot of code and Qt’s pro2cmake.py made it a breeze. I’ve renamed the whole thing to QtGamepadLegacy and pushed it to GitHub. So whenever the official QtGamepad is released there should be no naming conflicts. I’ve tested with Qt 6.6.0 and the evdev plugin.

I don’t plan on adding any new features to the port. I’ll try to keep it compatible with upcoming Qt releases, though.

2 thoughts on “QtGamepad ported to Qt 6

  1. Michael

    First things first: thank you ! I’ve been using QtGamepad as well, and I was pretty bummed out when I heard it was being discontinued.

    Secondly… well, it’s been discontinued. There was an announcement about the librairies of Qt5 that would be dropped for Qt6, and QtGamepad was part of the list. I voiced my concern, but it seems like the public for this library is just too small for Qt to bring it back officially.

    1. Arno Post author

      > First things first: thank you ! I’ve been using QtGamepad as well, and I was pretty bummed out when I heard it was being discontinued.

      Glad it’s useful to someone 🙂

      > Secondly… well, it’s been discontinued. There was an announcement about the librairies of Qt5 that would be dropped for Qt6, and QtGamepad was part of the list. I voiced my concern, but it seems like the public for this library is just too small for Qt to bring it back officially.

      Well, there’s some activity, like here: https://codereview.qt-project.org/c/qt/qtgamepad/+/495313
      I don’t know whether the involved people have enough spare time to bring this back fully. AFAIK it’s not backed by the Qt Group officially.

Comments are closed.