Standardized Support for Gamepads?
I made a game in Max! Yay! It takes typical gamepad input and uses it to do cool audio/visual stuff.
It's super fun. I want to share it with my friends and maybe beyond.
I own a Logitech Rumblepad 2, so I take the inputs from [hi] and route them accordingly. I also own an Xbox controller. About 85% of mapping is the same, but some of the buttons have different outputs from [hi].
My friend owns a PS5 controller. My other friend has a Stadia controller. I'm trying to figure out how I'm going to support any gamepad device my audience might plug in. Preferably without purchasing one of each and manually finding and mapping all the [hi] outputs.
I've never played a game that asked me to specify the kind of controller I'm using. I just plug in my controller, and the application detects the input properly. Does anybody have any experience this with this or any knowledge of how game developers achieve this functionality?
I know it's a bit of a fishing expedition to post this here. But I thought I'd give it a shot along side my other research. Thanks!
Mac and Win versions of Hi object have different output.
for sure for buttons and often for axis range
If you don't want to create database of vendor an product ID's
for all existing gamepad and similar called devices,
you could try to use learn process, like for midi automation.