Hello everyone,
I’m trying to get gamepad support working with Raw Input plugin. I got the Xbox, Dualshock gen1/2 working, as well as a couple more models, but it seems like a lot of players have unconventional gamepad vendors/models. Those exhibit broken behavior by default.
I get “GenericUSBControllerAxis2” type readings, which is expected. However, by default those axis are not treated as gamepad sticks, so the values are in a weird range and can’t easily be fixed by math on blueprint/C++ side. Once I find out the gamepad ID it’s easy - I make a custom config for it in RawInput, configure axis, click the “Gamepad stick” checkbox where needed.
It seems like with RawInput, you need to know the gamepad vendor/model id precisely in order to make a config for it. But I cannot possibly account for every gamepad model in existence.
Ideally what I need is to create a “default” config for all unidentified gamepads, and specify something like “treat GenericUSBControllerAxis 1-4 as gamepad sticks because in all likelihood they probably are”. Is it possible to do? I can’t seem to find the default config in RawInput.