In this article, I will show you how to fix Controller/Gamepad Not Working on Elden Ring
First open Steam and Settings

And Controller and General Controller Settings

Here if you have a Xbox controller press on Xbox Configuration Support, and if you have a PlayStation controller press on PlayStation Configuration Support

Click on your Detected Controller and press Calibrate and OK

After that you can open the game
If you still have the problem you can right-click on your game and press Properties and Controller

And here you can try Disable Steam Input or Enable Steam Input
I am hoping that after reading this article you managed to fix Controller/Gamepad Not Working on Elden Ring
For a more in-depth explanation, you can watch the video below from the youtube channel.