Commit Graph

6 Commits (a4416fdb74efaea1e81f17e632fc10fbac2b2e00)

Author SHA1 Message Date
Peter Repukat f2eb3662f3 Const correctness 7 years ago
Kyle Herock 5b6ca16ffc Support passing command line arguments to targets (closes #6)
This also refactors target configuration storage to reduce the redundancy in copying the same set of files for every target. Each configured entry now instead uses a .ini file with the name of the entry stored in ./targets. SteamTarget can accept the path to a .ini file as a command line argument.

This also fixes the UI so that inputs are ordered the same as the visual order so that tab behavior isn't confusing.
7 years ago
Peter Repukat 7947d6faac Enforce non desktop bindings:
done by mid function hooking a function in steamclient.dll
the function appears to be setting the appId of the new controller bindings

inject/hook right after the target launched
switch focus -> binding gets changed to shortcut bindings -> hook function grabs appid
hook function replaces desktop-config appid with the one grabbed everytime steam tries to active desktop-config
glosc_gamelauncher unloads dll when the target closes; unloading dll patches steamclient.dll back to original
8 years ago
Peter Repukat fa4a6a439d setting to close GloSC-SteamTarget when launched game closes 8 years ago
Peter Repukat 38cf868d56 add license 8 years ago
Peter Repukat 98603a3068 initial GloSC implementation 8 years ago