sonic2kk / steamtinkerlaunch

Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs
GNU General Public License v3.0
2.04k stars 70 forks source link

feat(steamdeck): custom variable to detect #1055

Closed Mte90 closed 3 months ago

Mte90 commented 3 months ago

ref #859

Right now just the variable as it isn't for me understand when needed to be used.

sonic2kk commented 3 months ago

I think we already have this, it's called ONSTEAMDECK:

Is there a way this is different?

Mte90 commented 3 months ago

No it is the same thing but the ticket about steam deck mentioned that it was needed to check if the device was steam deck. Check all the code it isn't easy so I didn't noticed.

sonic2kk commented 3 months ago

I don't see this being mentioned as something that needs to be implemented. Did I make a mistake somewhere? We already use this variable in a lot of places to do conditional Steam Deck things, like disable various options that don't make sense in Game Mode (such as GameScope, MangoHud, GameMode, etc) and when performing the Steam Deck installation.

This wasn't implemented as part of #859 either, it has been around since Steam Deck skeleton code was added (commit from probably around this time 2 years ago, so I couldn't find it :sweat_smile:), so if I gave the impression it has to be added, very sorry and I'll happily correct it!

Mte90 commented 3 months ago

So #859 mention to do some stuff about Steam deck but doesn't mention that there is a variable for that so I thought that a detection was needed.

Anyway it isn't a problem, I have VM now for steam deck :-)