From 538fba826b75cdd2feffaeac684044246590cb29 Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Sun, 3 May 2020 03:00:53 +0100 Subject: Improvements to input and input configuration in the GUI. (#849) * Improvements to input and input configuration in the GUI * Requested changes * nits * more nits --- .../Configuration/Hid/ControllerConfig.cs | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Ryujinx.Common/Configuration/Hid/ControllerConfig.cs (limited to 'Ryujinx.Common/Configuration/Hid/ControllerConfig.cs') 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 + { + /// + /// Controller Left Analog Stick Deadzone + /// + public float DeadzoneLeft { get; set; } + + /// + /// Controller Right Analog Stick Deadzone + /// + public float DeadzoneRight { get; set; } + + /// + /// Controller Trigger Threshold + /// + public float TriggerThreshold { get; set; } + + /// + /// Left JoyCon Controller Bindings + /// + public NpadControllerLeft LeftJoycon { get; set; } + + /// + /// Right JoyCon Controller Bindings + /// + public NpadControllerRight RightJoycon { get; set; } + } +} \ No newline at end of file -- cgit v1.2.3