This will help you out with Gamepad Problems!
How to Fix
First of all if you are using an Xbox Controller you just need to join in the game, go on settings and go on controller and it should just pop up (Keyboard) or (Gamepad) that’s it.
If you are using a PS4/PS5 they don’t have a Layout to display it so it will show as an Xbox Controller, what you need to do? Update Firmware of the Controller them after that repeat the same thing i’ve say to Xbox Controller BUT remember to Restart your computer.
Hope this Helps!