[Development] Resurrecting QtGamepad

Andy Nichols Andy.Nichols at qt.io
Sun Oct 22 20:57:35 CEST 2023

Hi Arno,

I suppose I was the one who previously stated I wanted to rearchitect QtGamepad before making it part of Qt 6.  The main issue was that it was very focused on gamepads (like the XBox Controller) and did not easily map to other exotic input devices.  I wanted to redesign it to where the Gamepad API sat on top of a more generic exotic input mechanism so that we could fulfill that need of using other types of controllers like Joysticks, steering wheels, flight yokes etc. Some effort was made this year in that regard as a combined effort from me, Kristoffer Skau, and especially Johan Solbakken.  The result of that prototype can be found here:
This patch provides an expanded vision for exotic input devices while also providing a mostly compatible API for QtGamepad built on top.  Some more refinement is needed but that is the progress we have so far.

Ideally if QtGamepad is reintroduced in Qt6 it would be with some flavor of these changes rather than just being a strait port form Qt 5.

Hopefully that gives some insights into the current state of QtGamepad.  If you or anyone else is interested in participating in QtGamepads development please get in touch with us.  It’s not exactly a business critical project so for us it’s a passion project so it can be good place to get involved if it’s something you care about as well.

Andy Nichols

On 21 Oct 2023, at 17:05, Arno Rehn <arno at arnorehn.de> wrote:

Hey everyone,

for a project of mine I need gamepad support. In the past, I've happily used QtGamepad, but this module has not been ported to Qt6.
I've tried porting it myself with pro2cmake.py and it went quite smoothly. I've tested only the evdev backend which works just fine.

Is there any interest in resurrecting this fully?
I think I remember that someone wanted to re-architect it for Qt6 - or maybe I'm just imagining that. Does anyone know?

-- Arno
Development mailing list
Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20231022/4d3ac2d5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: favicon.ico
Type: image/x-icon
Size: 5430 bytes
Desc: favicon.ico
URL: <http://lists.qt-project.org/pipermail/development/attachments/20231022/4d3ac2d5/attachment.bin>

More information about the Development mailing list