mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-01-26 18:24:21 +01:00
SteamController: Move KeepX360AlwaysConnected to Settings
This commit is contained in:
parent
70237ad9d4
commit
de4e718703
|
|
@ -10,6 +10,7 @@
|
|||
## 0.6.x
|
||||
|
||||
- SteamController: Add initial `DS4` support (with Gyro, Accel, Trackpads and Haptics)
|
||||
- SteamController: Move `KeepX360AlwaysConnected` to `Settings`
|
||||
- PowerControl: Install custom resolutions (EDID) (experimental feature)
|
||||
- SteamController: Add `X360: No Touchpads` profile
|
||||
- All: Show `Missing RTSS` button to install RTSS
|
||||
|
|
|
|||
|
|
@ -419,7 +419,9 @@ namespace SteamController
|
|||
DS4Haptic = ProfilesSettings.HapticSettings.DS4,
|
||||
#endif
|
||||
Application = Settings.Default,
|
||||
#if DEBUG
|
||||
DEBUG = SettingsDebug.Default
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ namespace SteamController.Devices
|
|||
lastPressed = pressed;
|
||||
pressed = new Dictionary<Xbox360Button, DateTime>();
|
||||
submitReport = false;
|
||||
Connected = SettingsDebug.Default.KeepX360AlwaysConnected;
|
||||
Connected = Settings.Default.KeepX360AlwaysConnected;
|
||||
}
|
||||
|
||||
private void SetConnected(bool wantsConnected)
|
||||
|
|
@ -144,7 +144,7 @@ namespace SteamController.Devices
|
|||
|
||||
internal void Beep()
|
||||
{
|
||||
if (SettingsDebug.Default.KeepX360AlwaysConnected)
|
||||
if (Settings.Default.KeepX360AlwaysConnected)
|
||||
return;
|
||||
if (device is null)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -20,6 +20,13 @@ namespace SteamController
|
|||
set { Set("EnableSteamDetection", value); }
|
||||
}
|
||||
|
||||
[Description("Keep X360 controller connected always - it is strongly advised to disable this option. Might be required by some games that do not like disonnecting controller. Will disable beep notifications.")]
|
||||
public bool KeepX360AlwaysConnected
|
||||
{
|
||||
get { return Get<bool>("KeepX360AlwaysConnected", false); }
|
||||
set { Set("KeepX360AlwaysConnected", value); }
|
||||
}
|
||||
|
||||
[Description("If current foreground process uses overlay, treat it as a game.")]
|
||||
public bool DetectRTSSForeground
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,13 +13,6 @@ namespace SteamController
|
|||
{
|
||||
}
|
||||
|
||||
[Description("Keep X360 controller connected always - it is strongly advised to disable this option. Might be required by some games that do not like disonnecting controller. Will disable beep notifications.")]
|
||||
public bool KeepX360AlwaysConnected
|
||||
{
|
||||
get { return Get<bool>("KeepX360AlwaysConnected", false); }
|
||||
set { Set("KeepX360AlwaysConnected", value); }
|
||||
}
|
||||
|
||||
[Description("Use Lizard Buttons instead of emulated. This option is only for testing purposes.")]
|
||||
public bool LizardButtons { get; set; } = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue