diff options
| author | Xpl0itR <xpl0itr@outlook.com> | 2020-05-03 03:00:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 04:00:53 +0200 |
| commit | 538fba826b75cdd2feffaeac684044246590cb29 (patch) | |
| tree | 4f9b09aaaeec6249b49d665012dd4e585f3e67f0 /Ryujinx.Common/Configuration/Hid/ControllerConfig.cs | |
| parent | 5f3558fd51a0920966e5341101c4233a02c98307 (diff) | |
Improvements to input and input configuration in the GUI. (#849)
* Improvements to input and input configuration in the GUI
* Requested changes
* nits
* more nits
Diffstat (limited to 'Ryujinx.Common/Configuration/Hid/ControllerConfig.cs')
| -rw-r--r-- | Ryujinx.Common/Configuration/Hid/ControllerConfig.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Ryujinx.Common/Configuration/Hid/ControllerConfig.cs b/Ryujinx.Common/Configuration/Hid/ControllerConfig.cs new file mode 100644 index 00000000..3e414055 --- /dev/null +++ b/Ryujinx.Common/Configuration/Hid/ControllerConfig.cs @@ -0,0 +1,30 @@ +namespace Ryujinx.Common.Configuration.Hid +{ + public class ControllerConfig : InputConfig + { + /// <summary> + /// Controller Left Analog Stick Deadzone + /// </summary> + public float DeadzoneLeft { get; set; } + + /// <summary> + /// Controller Right Analog Stick Deadzone + /// </summary> + public float DeadzoneRight { get; set; } + + /// <summary> + /// Controller Trigger Threshold + /// </summary> + public float TriggerThreshold { get; set; } + + /// <summary> + /// Left JoyCon Controller Bindings + /// </summary> + public NpadControllerLeft LeftJoycon { get; set; } + + /// <summary> + /// Right JoyCon Controller Bindings + /// </summary> + public NpadControllerRight RightJoycon { get; set; } + } +}
\ No newline at end of file |
