Comment on An Easy Way To Copy A Controller Layout Configuration From One Game To Another
saintshenanigans@programming.dev 6 months ago
I was going to build a simple profile manager program to help do this, but never got around to doing it. If anyone else wants to steal it, my idea was:
Steam stores a single file holding each controller layout, it was going to be very jank because directly editing those files is tricky and could break things. Instead, the idea was that you would create a profile in steam’s interface as your default or desktop layout, and then my program would take that layout and back up the file as a different name, then when you wanted to swap between them the program would simply rename the files, all with a barebones ui maybe just displaying the profile names. Would work out of a console window if it weren’t for no keyboard lol
supersquirrel@sopuli.xyz 6 months ago
Yeah, that seems like it would be nice.
Honestly, this process is so annoying that I am also considering just sharing from my Steam Deck a Syncthing folder with the controller layout to my phone running Syncthing. Then every time I want to copy a controller layout to a new folder I could pull out my phone, create a new folder pointing to the folder shared from the Steam Deck containing the layout in question, and set the folder to “send only” (so edits are propagated back up, I edit the original controller layout file and let the edits propagate) and then share with my Steam Deck.
It is basically the equivalent of mailing something to yourself, but I think it might actually be less of an annoyance than any of the other methods I have found (save for the one above, but the Syncthing method still might be faster) and I already use the shit out of Syncthing so I wouldn’t need to learn anything new.
Hopefully one day soon Valve will fix this weird messed up state of affairs.
Also, I wonder if you copied the controller layout and ran some kind of batch file copying command that placed the controller layout in every single subfolder of the config folder if that would be a good solution. This might be the easiest way to distribute your basic control scheme that you like to all your games (who cares if it is an option on games that it isn’t needed for). I don’t know how to do that though.