nostr:npub15c7g2z0hanhkrzgfrpdmjxeewg0203p00j6avlwz5hg2es2q0ems4lsuze i can use any gamepad on my PC. There's literally not many APIs/protocols for them - DirectInput, XInput, xbone, sony4, sony5, switch. There are of course oddballs like wii controller or game port controllers but those are very niche.

Hell, I know an arcade cab that lets you plug in pretty much any gamepad into it and it will work. And lastly, SteamInput exists. I would be a happier human bean if my switch would have let me use my dualshock 4 or logitech f710 but no, gotta pay another 60€ just for a controller that works with switch that's probably fucking garbage too

nostr:npub1vwr5s27ye0f8a267awgl07zwkwshtqkg9ywnx8ltx2as39v5kcysu9fnzd the problem is that:

direct input is a microsoft windows only thing

xinput is a microsoft windows only thing

linux has whatever is in linux/joystick.h

macos has their "Game Controller framework"

all the consoles only implement the very specific input devices they use, though i would imagine new XBOX being windows has the capability to work with xinput (but probably doesn't)

steam input and SDL just wrap all of these individual things to make it look like it all just works, but they are all completely different and choosing just one means all vendors will need to either support 2 (3 in case of microsoft) APIs or deprecate all other ones and support just the new one. Hell, sony/microsoft/nintend don't even make gamepad drivers for linux themselves, I rather doubt they would want to change anything. Steam input is great, but it also isn't a system driver and requires steam to be running. The whole thing is a fucking mess.

Reply to this note

Please Login to reply.

Discussion

nostr:npub15c7g2z0hanhkrzgfrpdmjxeewg0203p00j6avlwz5hg2es2q0ems4lsuze god bless this mess. It's a mess that's worth it and it benefits the customers, but no one but gabe cares :gabe_laugh: