Re: [Development] Resurrecting QtGamepad

2023-11-01 Thread Oswald Buddenhagen

On Tue, Oct 31, 2023 at 10:33:27PM +0100, Arno Rehn wrote:

On 24.10.23 21:12, Arno Rehn wrote:

On 22.10.23 20:57, Andy Nichols wrote:
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.


Agreed. Maybe I'll just push my port to github then, renamed as 
qtgamepad-legacy or so.


Pushed it here: https://github.com/pumphaus/qtgamepadlegacy
Renamed the whole thing to QtGamepadLegacy, so there should be no 
compatibility issues with the "actual" QtGamepad when it is released.


from a qt project policy pov, nothing speaks against pushing it to the 
main repo as 6.x-legacy-api or some such. this would give it broader 
exposure, and it could get a proper review on gerrit.


--
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Resurrecting QtGamepad

2023-10-31 Thread Arno Rehn

On 24.10.23 21:12, Arno Rehn wrote:

On 22.10.23 20:57, Andy Nichols wrote:
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.


Agreed. Maybe I'll just push my port to github then, renamed as 
qtgamepad-legacy or so.


Pushed it here: https://github.com/pumphaus/qtgamepadlegacy
Renamed the whole thing to QtGamepadLegacy, so there should be no 
compatibility issues with the "actual" QtGamepad when it is released.


-- Arno


OpenPGP_0x149975EFBCF2C32A.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Resurrecting QtGamepad

2023-10-24 Thread Arno Rehn

Hi Andy,

On 22.10.23 20:57, Andy Nichols wrote:
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:
codereview.qt-project.org 


favicon.ico 


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.


Cool, thanks! Good to know that it's not dead yet :-)

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.


Agreed. Maybe I'll just push my port to github then, renamed as 
qtgamepad-legacy or so.


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.


I'd love to help out, but I've not really got a lot of spare time at the 
moment :( I probably won't get around to writing actual code. But you 
can CC me for code review, if you'd like :-)


-- Arno


OpenPGP_0x149975EFBCF2C32A.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Resurrecting QtGamepad

2023-10-23 Thread Elias Steurer via Development

Hi,

+1. This would also be useful for new input devices like the Steam Deck 
or the Asus ROG Ally.


Cheers

Am 21.10.2023 um 17:02 schrieb Arno Rehn:

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@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Resurrecting QtGamepad

2023-10-22 Thread Andy Nichols via Development
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:

codereview.qt-project.org
[favicon.ico]
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.

Regards,
Andy Nichols

On 21 Oct 2023, at 17:05, Arno Rehn  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@qt-project.org
https://lists.qt-project.org/listinfo/development
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


[Development] Resurrecting QtGamepad

2023-10-21 Thread Arno Rehn

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


OpenPGP_0x149975EFBCF2C32A.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development