Cleanup a couple things

This commit is contained in:
Isaac Marovitz 2023-05-19 09:44:53 -04:00 committed by Isaac Marovitz
parent e51c131fd7
commit 7dddee5971

View file

@ -14,6 +14,11 @@ namespace Ryujinx.Ava.UI.Models.Input
public int Slot { get; set; } public int Slot { get; set; }
public int AltSlot { get; set; } public int AltSlot { get; set; }
public bool MirrorInput { get; set; } public bool MirrorInput { get; set; }
public int Sensitivity { get; set; }
public double GyroDeadzone { get; set; }
public float WeakRumble { get; set; }
public float StrongRumble { get; set; }
public string Id { get; set; } public string Id { get; set; }
public ControllerType ControllerType { get; set; } public ControllerType ControllerType { get; set; }
@ -398,30 +403,6 @@ namespace Ryujinx.Ava.UI.Models.Input
} }
} }
private double _gyroDeadzone;
public double GyroDeadzone
{
get => _gyroDeadzone;
set
{
_gyroDeadzone = Math.Round(value, 3);
OnPropertyChanged();
}
}
private int _sensitivity;
public int Sensitivity
{
get => _sensitivity;
set
{
_sensitivity = value;
OnPropertyChanged();
}
}
private bool _enableRumble; private bool _enableRumble;
public bool EnableRumble public bool EnableRumble
{ {
@ -433,28 +414,6 @@ namespace Ryujinx.Ava.UI.Models.Input
} }
} }
private float _weakRumble;
public float WeakRumble
{
get => _weakRumble;
set
{
_weakRumble = value;
OnPropertyChanged();
}
}
private float _strongRumble;
public float StrongRumble
{
get => _strongRumble;
set
{
_strongRumble = value;
OnPropertyChanged();
}
}
public ControllerInputConfig(InputConfig config) public ControllerInputConfig(InputConfig config)
{ {
if (config != null) if (config != null)