1. Controller
Xbox-style
DualSense
Switch Pro
Budget pad
2. Connection
USB cable
Bluetooth
Wireless dongle
3. The game
Newer game, controller support
Older or indie game
No controller support
Try a few combinations. Verdicts are general rules, not a promise for every single game.