aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Configuration/Hid/NpadController.cs
blob: f00865d55667d507fd4e375ce1cbf9dc5102019f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
namespace Ryujinx.Common.Configuration.Hid
{
    public class NpadController
    {
        /// <summary>
        /// Enables or disables controller support
        /// </summary>
        public bool Enabled;

        /// <summary>
        /// Controller Device Index
        /// </summary>
        public int Index;

        /// <summary>
        /// Controller Analog Stick Deadzone
        /// </summary>
        public float Deadzone;

        /// <summary>
        /// Controller Trigger Threshold
        /// </summary>
        public float TriggerThreshold;

        /// <summary>
        /// Left JoyCon Controller Bindings
        /// </summary>
        public NpadControllerLeft LeftJoycon;

        /// <summary>
        /// Right JoyCon Controller Bindings
        /// </summary>
        public NpadControllerRight RightJoycon;
    }
}