I have not been able to run the game from within the Steam UI mode. Somehow the game runs in the background (with sounds and menus and all) but I was not able to get the focus to the game video output. Running it from desktop mode worked fine though. I ran into the input problems but since had no time to give it another go. I might look into it on sunday.
Setting the gamescope command should fix that, but give me a second to test it. I may not have a steam deck yet but I do have the same software stack as I’m running the same build of steam.
Tested, seems to be a bug with gamescope and/or steam’s gamepad mode, might be worth opening a support ticket with valve or a bug report on gamescope’s repo at https://github.com/Plagman/gamescope
Got around to testing, and as my post now says, it seems to be a bug with gamescope or steam’s game ui.
In the meantime, running it from desktop mode with gamescope -w 568 -h 320 -fine -- %command%
as your launch parameters for the game [if running from steam] should provide a great experience, just make sure you have the game’s graphics set to fit and 1x as those parameters let gamescope take care of scaling.
If not running from steam, your launch command would be gamescope -w 568 -h 320 -fin -- ./CrossCode