ayufan / steam-deck-tools

(Windows) Steam Deck Tools - Fan, Overlay, Power Control and Steam Controller for Windows
https://steam-deck-tools.ayufan.dev
Other
937 stars 67 forks source link

Potential Bug: Double input in Steam overlay on non-steam game added to Steam #47

Closed 618116 closed 1 year ago

618116 commented 1 year ago

I am using "Steam input on Steam". When playing non-steam game through Steam(Gamepad UI), there is double input in in-game Steam overlay. In game itself there is no double input therefore this is not an critical issue, however I want you let you know. Also Steam overlay on steam game have no problem either. Thank you.

ayufan commented 1 year ago

@618116 Can you give me some screenshots or video what view is being show for in-game Steam overlay? I currently "deny-list them manually".

618116 commented 1 year ago

ezgif-2-e7c5ada850 I hope this will be help.

ayufan commented 1 year ago

Oh. Thank you. I will look at it then :)

618116 commented 1 year ago

It seems Steam Controller cannot detect Steam Client when playing non-steam game played that added to Steam. Overlay controller option only show Desktop and x360 and not "Steam with Shortcut". Could you consider an option that force Steam with Shortcut mode? I know it might cause trouble for normal user, however at least we can add it for debug version.

ayufan commented 1 year ago

@618116 I confirm this behavior. The problem is that Steam changed the way how they hook overlay into process. This results in exactly the behavior you are describing: Steam consumes Neptune and X360 at the same time.

ayufan commented 1 year ago

@618116 The problem appears that if you configure Use Steam Input with Steam somehow the blacklist for X360 controller was lost.

At least in my case to solve this, it was enough to re-click: Use Steam Input with Steam. That way, the Steam Input is used for overlay, but X360 for the game.

This seems to solve this issue in my case. I will likely add a Wizard that will detect this.

618116 commented 1 year ago

My workaround is somewhat more simple: I just set controller as X360. It seems double input only occurs when Use Steam Input with Steam and Desktop are set.

ayufan commented 1 year ago

@618116 Correct, but this is workaround not a fix. Can you check if https://github.com/ayufan/steam-deck-tools/releases/tag/0.6.7 fixes this for you?

618116 commented 1 year ago

No, Steam Controller still shows Desktop/X360 only and have double inputs when using Use Steam Input with Steam and Desktop. Also it changes to X360 automatically when launch game. Is this what you supposed to do?

ayufan commented 1 year ago

Are you sure that you are running 0.6.7, and are you sure that Setup Steam is configured? In your case it appears that configuration was lost in prior version.

have double inputs when using

In what circumstances (on what screen)?

Also it changes to X360 automatically when launch game

This is expected for non-steam game.

618116 commented 1 year ago

I am sure for running 0.6.7 and using Use Steam Input with Steam.

Situation is same to first post. Double inputs occur in Steam Overlay on non-Steam game that added to Steam, when using Desktop mode(there is no Steam with Shortcut).

No double inputs in: Every in-game Steam overlay on Steam game Non Steam game outside of Steam(ex. Gamepass)

ayufan commented 1 year ago

@618116 Ah. OK. I understand now. If you are using Desktop there will always be double input - unfortunately, as there's no way to hide Desktop from Steam. Only X360.

If you are on 0.6.7 go to settings and enable RTSS detection in Steam Controller. It will require RTSS installed and running. This should make the app to switch auto to X360, and once in X360 should prevent double input.

ayufan commented 1 year ago

I also assume that you run at least Steam version of 1674182294.

618116 commented 1 year ago

I have checked and RTSS detection was enabled(by default?).

So behavior of Steam Controller might be different between Steam game and non-Steam game, I can use Steam control for non-Steam game and no double input on default setting.

I think I can close the issue. Thank you for your support.