If you’re wanting a good controller, 8BitDo has a fantastic Bluetooth controller styled after the SNES controller (with extra shoulder buttons and joysticks!), the SN30 Pro. If you want it wired, I think they have a wired version, but otherwise you can get a USB-C cable and plug it into your phone that way. Easily replaced if the cable breaks, anyhow.
Honestly that’s something I never learned about until I was like, 23, 24. Still know bugger all about it and that’s fucked. Do you know any good resources where I can learn about this stuff?