mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
SteamController: Use Roslyn Scripting to compile UserProfiles
- This looks into `UserProfiles/` and compiles user profiles - This exposes a very minimal scripting interface as defined by `Dynamic.Globals`
This commit is contained in:
parent
b24ae302b1
commit
e5debff45b
8 changed files with 504 additions and 11 deletions
9
SteamController/UserProfiles/Turbo.x360.cs
Normal file
9
SteamController/UserProfiles/Turbo.x360.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// If L5 is hold, the A, B, X, Y is turbo: 10x per second
|
||||
if (Steam.BtnL5)
|
||||
{
|
||||
X360.BtnA = Turbo(Steam.BtnA, 10);
|
||||
X360.BtnB = Turbo(Steam.BtnB, 10);
|
||||
X360.BtnX = Turbo(Steam.BtnX, 10);
|
||||
X360.BtnY = Turbo(Steam.BtnY, 10);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue