SteamController: Persist and expose in release Lizard{Buttons,Mouse}

This commit is contained in:
Kamil Trzcinski 2025-06-10 17:54:06 +02:00
parent 17d6c72c8b
commit ce18d088d6
2 changed files with 10 additions and 4 deletions

View file

@ -403,9 +403,7 @@ namespace SteamController
DS4Shortcuts = ProfilesSettings.DS4BackPanelSettings.Default, DS4Shortcuts = ProfilesSettings.DS4BackPanelSettings.Default,
DS4Haptic = ProfilesSettings.HapticSettings.DS4, DS4Haptic = ProfilesSettings.HapticSettings.DS4,
Application = Settings.Default, Application = Settings.Default,
#if DEBUG
DEBUG = SettingsDebug.Default DEBUG = SettingsDebug.Default
#endif
} }
}; };

View file

@ -14,10 +14,18 @@ namespace SteamController
} }
[Description("Use Lizard Buttons instead of emulated. This option is only for testing purposes.")] [Description("Use Lizard Buttons instead of emulated. This option is only for testing purposes.")]
public bool LizardButtons { get; set; } = false; public bool LizardButtons
{
get { return Get<bool>("LizardButtons", false); }
set { Set("LizardButtons", value); }
}
[Description("Use Lizard Mouse instead of emulated. This option is only for testing purposes.")] [Description("Use Lizard Mouse instead of emulated. This option is only for testing purposes.")]
public bool LizardMouse { get; set; } = true; public bool LizardMouse
{
get { return Get<bool>("LizardMouse", false); }
set { Set("LizardMouse", value); }
}
public override string ToString() public override string ToString()
{ {