Most of the controllers beforehand had proprietary connectors that would never work in the PC.
That was in the 90s… 20 years ago I was gaming on PC with a PS1 dual shock using a cheap adapter, and then switched to the Xbox 360 controller which used a standard USB port.
It works on all platforms, I work on mobile apps so I have quite a few Androids and iPhones, as well as a linux laptop and a Mac mini. It works seamlessly between all of those.
How so? The devices page on the wiki lists 171 officially supported devices. I’m writing this comment on a Poco F3 running the official LineageOS 21 release…
With an USB-C dock/hub you can plug the deck into your TV and multiple controllers. Lots of wireless controllers are also supported OOTB, including joy cons.