steam-deck-tools/SteamController/SettingsDebug.cs
Kamil Trzciński c6b24bc573 SteamController: Add support for circular deadzone on left/right sticks
This is inspired by the changes https://github.com/ayufan/steam-deck-tools/pull/146,
but completely rewritten.

This removes `DeltaValue` methods, and `Deadzone` fixed values.
Adds a settings value for `Deadzone` per profile.
2023-09-24 16:31:44 +02:00

28 lines
825 B
C#

using System.ComponentModel;
using System.Configuration;
namespace SteamController
{
[Category("1. Settings")]
[TypeConverter(typeof(ExpandableObjectConverter))]
internal sealed partial class SettingsDebug : CommonHelpers.BaseSettings
{
public static readonly SettingsDebug Default = new SettingsDebug();
public SettingsDebug() : base("SettingsDebug")
{
}
[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 "";
}
}
}