steam-deck-tools/SteamController/SettingsDebug.cs
2023-01-03 11:34:45 +01:00

42 lines
1.5 KiB
C#

using System.ComponentModel;
using System.Configuration;
namespace SteamController
{
[Category("Settings")]
[TypeConverter(typeof(ExpandableObjectConverter))]
internal sealed partial class SettingsDebug : CommonHelpers.BaseSettings
{
public static readonly SettingsDebug Default = new SettingsDebug();
public SettingsDebug() : base("SettingsDebug")
{
}
[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
{
get { return Get<bool>("DetectRTSSForeground", false); }
set { Set("DetectRTSSForeground", value); }
}
[Description("Use Lizard Buttons instead of emulated. This option is only for testing purposes.")]
public bool LizardButtons { get; set; } = false;
[Description("Use Lizard Mouse instead of emulated. This option is only for testing purposes.")]
public bool LizardMouse { get; set; } = true;
public override string ToString()
{
return "";
}
}
}