* Cleanup * Remove redundant locales * Start SVG Fixes… Better +/- buttons Fix the grips Bumpers Better directional pad More SVG stuff Grip adjustments Final stuff * Make image bigger * Border radius * More cleanup * Restructure * Restructure Rumble View * Use compiled bindings where possible * Round those pesky corners * Ack Suggestions * More suggestions * Update src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> --------- Co-authored-by: Ac_K <Acoustik666@gmail.com>
93 lines
No EOL
2 KiB
C#
93 lines
No EOL
2 KiB
C#
namespace Ryujinx.Ava.UI.ViewModels
|
|
{
|
|
public class MotionInputViewModel : BaseModel
|
|
{
|
|
private int _slot;
|
|
public int Slot
|
|
{
|
|
get => _slot;
|
|
set
|
|
{
|
|
_slot = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private int _altSlot;
|
|
public int AltSlot
|
|
{
|
|
get => _altSlot;
|
|
set
|
|
{
|
|
_altSlot = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private string _dsuServerHost;
|
|
public string DsuServerHost
|
|
{
|
|
get => _dsuServerHost;
|
|
set
|
|
{
|
|
_dsuServerHost = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private int _dsuServerPort;
|
|
public int DsuServerPort
|
|
{
|
|
get => _dsuServerPort;
|
|
set
|
|
{
|
|
_dsuServerPort = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private bool _mirrorInput;
|
|
public bool MirrorInput
|
|
{
|
|
get => _mirrorInput;
|
|
set
|
|
{
|
|
_mirrorInput = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private int _sensitivity;
|
|
public int Sensitivity
|
|
{
|
|
get => _sensitivity;
|
|
set
|
|
{
|
|
_sensitivity = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private double _gryoDeadzone;
|
|
public double GyroDeadzone
|
|
{
|
|
get => _gryoDeadzone;
|
|
set
|
|
{
|
|
_gryoDeadzone = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private bool _enableCemuHookMotion;
|
|
public bool EnableCemuHookMotion
|
|
{
|
|
get => _enableCemuHookMotion;
|
|
set
|
|
{
|
|
_enableCemuHookMotion = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
}
|
|
} |