Try and disable auto trainer activation (or automatically open trainer) for this game in SDT. For Shape of Dreams it works fine on the PC as well, the issue occurs if the trainer gets activated too early. Maybe for Risk of rain it works too if you activate it manually on Steamdeck
Still getting issues even when I manually attach to the game kinda losing hope atp I have went through so many videos on yt and no one has had these issues it seems
Shape of dreams settings