Add haptic style setting (disabled, weak, strong)

This commit is contained in:
Kamil Trzciński 2022-12-05 18:35:25 +01:00
parent 0e92640085
commit d4b8a09395
4 changed files with 49 additions and 20 deletions

View file

@ -17,6 +17,14 @@ namespace SteamController.ProfilesSettings
{
}
[UserScopedSettingAttribute()]
[DefaultSettingValueAttribute("Weak")]
public Devices.SteamController.HapticStyle HapticStyle
{
get { return ((Devices.SteamController.HapticStyle)(this["HapticStyle"])); }
set { this["HapticStyle"] = value; }
}
[UserScopedSettingAttribute()]
[DefaultSettingValueAttribute("5")]
[Description("Haptic intensity between -2dB and 10dB")]