Trying to play Xbox Game Pass (PC) on RP5.

I have tried adding it to steam as a non steam game and opening the game through Xbox game pass itself to no avail. I've tried fidgeting with steam's controller settings and can't figure anything out at least.

If anyone has any ideas let me know! (Also, to clarify i have the game open on the RP5, but I cannot figure out how to make it properly register my buttons!)