using ReactiveUI; namespace LoraGamepad.Models; public class SliderConfig : ReactiveObject { private double _rightHorizonValue; private double _rightVerticalValue; private double _leftHorizonValue; private double _lefttVerticalValue; public SliderConfig() { _rightHorizonValue = _rightVerticalValue = _leftHorizonValue = _lefttVerticalValue = 0; } public double RightHorizonValue { get => _rightHorizonValue; set => this.RaiseAndSetIfChanged(ref _rightHorizonValue, value); } public double RightVerticalValue { get => _rightVerticalValue; set => this.RaiseAndSetIfChanged(ref _rightVerticalValue, value); } public double LeftHorizonValue { get => _leftHorizonValue; set => this.RaiseAndSetIfChanged(ref _leftHorizonValue, value); } public double LeftVerticalValue { get => _lefttVerticalValue; set => this.RaiseAndSetIfChanged(ref _lefttVerticalValue, value); } }