#Add Game Input Protocol support

1 messages · Page 1 of 1 (latest)

elfin ridge
#

If my understanding of the gamepad options is correct. The most modern gamepad protol isn't supported. That being https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/input/overviews/input-overview. The reason I want support for this is because the driver I'm using on linux xone https://github.com/dlundqvist/xone only supports the gip protocol, and it seems to be an improvement over xinput. I'm assuming it'd be possible for wooting two he + hardware to support gip if implemented.

I could be wrong and gip is already suported, or that the wooting he series can't support it.

polar cairn
#

gameinput is a pure OS thing.

#

all it does is basically provide all inputs of all connected HID, DInput, XInput, RawInput and whatnot devices in 1 api

#

most likely the xone thing you posted just cant replicate it the way windows does it and thus needs device specific support but i have not read into the source code for confirming that.

elfin ridge
polar cairn
#

because it aims to be but isnt yet?

#

also they specifically state to install xpad-noone for xbox360 interface (which our keyboard is)

#

they also seemingly completely ignore dinput and such

elfin ridge
#

The way I was understanding it was gip was a new xinput. It seems I was wrong in that understanding. Thank you very much for the clarification

polar cairn
#

according to their own text they only are xbox one and series x currently but aiming to be compatible with gameinput.

#
Functionality

GameInput is a functional superset of all legacy input APIs—XInput, DirectInput, Raw Input, Human Interface Device (HID), and WinRT APIs—in addition to adding new features of its own. GameInput's functionality ranges from simple fixed-format gamepad state to detailed low-level raw device access. Input can be obtained via polling or callbacks in an event-driven way. Haptics and force feedback are fully supported, and third-party device SDKs can easily be written on top of GameInput to provide access to custom device features.```

This would be the important part from the GameInput api docs listing all the legacy apis its a superset of (as in they are basically available through GameInput api)
elfin ridge
#

Well I can say that it's also compatible with a third party controller I own. I was just trying to get all controller inputs using one driver

polar cairn
#

sounds like a very not linux thing tbh

elfin ridge
polar cairn
#

yeah cause thats basically what it is

#

internally it still talks to the devices the old way but software can interact with all well game input devices through 1 api with concise representations and states instead of using all different apis with different representations and states

elfin ridge
polar cairn
#

uh im not entirely sure either might just be the 8 controller max or smth that xbox series x and xbox one can do

#

or some other functions like led control that xinput didnt have itself

#

but id personally just use xpad really

elfin ridge
#

Thank you again for your help

polar cairn
#

no problem have a great day

#

oh also if you really want a universal way i think steam controller stuff works on linux as well so you basically already get a universal conversion from whatever to xinput through steam

elfin ridge
#

Yea steam controller stuff does work on linux, but I've had good luck with xpad working across the 2 controllers, and the wooting 60he