I found that if I connect a gamepad via bluetooth, the gamepad works fine. Then you disconnect the gamepad, and the Steam Deck controls start working.
If you exit the game. When you play again, the Deck controls no longer work. If you don't connect the gamepad. It's very strange.