Page 1 of 1

XInput

Posted: Sun Aug 02, 2020 5:02 pm
by Kjell
8)

For people that also want / need to support XInput* gamepads. Attached is a small wrapper & demo .. the left & right rumble motors are tied to the left & right analog triggers ( for demonstration purposes ).

*XInput only supports XInput compatible devices, while the build-in joystick functions don't support XInput-only devices.

K

Re: XInput

Posted: Mon Aug 03, 2020 11:17 am
by Ats
Nice. Does it detect digital pad and shoulders buttons too? Those were not working before.
I'll try that this afternoon :)

Re: XInput

Posted: Mon Aug 03, 2020 11:50 am
by Kjell
Hi Ats,
Ats wrote:
Mon Aug 03, 2020 11:17 am
Does it detect digital pad and shoulders buttons too?
I haven't tested it with every XInput compatible controller in existence .. but no problems ( for me ) so far :wink:

Image
Ats wrote:
Mon Aug 03, 2020 11:17 am
Those were not working before.
You have a controller that works with the built-in joystick functions except for the D-Pad and shoulder buttons? That's pretty strange.

K