Make sure you check the game's settings menu for controller configuration options. Some games allow you to manually map controller buttons or choose predefined controller layouts. Make sure the controller settings in the game are correctly configured to match the Steam Deck's button layout.