SteamController: Rename UserProfiles to ControllerProfiles

This commit is contained in:
Kamil Trzciński 2023-01-10 11:30:53 +01:00
parent 2ff2864f23
commit 6cd481e682
4 changed files with 9 additions and 9 deletions

View file

@ -10,7 +10,7 @@
## 0.6.x
- PowerControl: Add `GameProfiles` allowing to persist per-game setttings for most of settings (Colors, Refresh Rate, FPS limit, etc.) [Thank you @maniman303 for https://github.com/ayufan/steam-deck-tools/pull/38]
- SteamController: Add experimental `UserProfiles` to allow creating user controllers
- SteamController: Add experimental `ControllerProfiles` to allow creating user controllers
- SteamController: Add experimental RTSS-based detection (disables the need to use Steam, or Playnite workflow)
- SteamController: Hold Press Left and Right Pad to toggle touchpads in X360 mode
- PowerControl: Make all PowerControl options to accept Strings

View file

@ -172,15 +172,15 @@ namespace SteamController.Profiles.Dynamic
var exeFolder = Path.GetDirectoryName(exePath);
if (exeFolder is not null)
{
var exeUserProfiles = Path.Combine(exeFolder, "UserProfiles");
if (Directory.Exists(exeUserProfiles))
yield return exeUserProfiles;
var exeControllerProfiles = Path.Combine(exeFolder, "ControllerProfiles");
if (Directory.Exists(exeControllerProfiles))
yield return exeControllerProfiles;
}
var documentsFolder = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
var steamControllerDocumentsFolder = Path.Combine(documentsFolder, "SteamController", "UserProfiles");
if (Directory.Exists(steamControllerDocumentsFolder))
yield return steamControllerDocumentsFolder;
var controllerProfilesDocumentsFolder = Path.Combine(documentsFolder, "SteamController", "ControllerProfiles");
if (Directory.Exists(controllerProfilesDocumentsFolder))
yield return controllerProfilesDocumentsFolder;
}
}
}

View file

@ -11,7 +11,7 @@
</PropertyGroup>
<ItemGroup>
<Compile Remove="UserProfiles\examples\Turbo.x360.cs" />
<Compile Remove="ControllerProfiles\examples\Turbo.x360.cs" />
</ItemGroup>
<ItemGroup>
@ -23,7 +23,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="UserProfiles\examples\Turbo.x360.cs">
<Content Include="ControllerProfiles\examples\Turbo.x360.cs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>