The Playstation 5 DualSense controller only works in the main menu, not in games.
This is a very brief note about a problem that recently happened to me. After normally starting my PS5 with controller by pressing the central PS button, the console would start up normally. I was then able to browse menu, store, settings etc. After starting the game I was greeted