aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Configuration/Hid/InputConfig.cs
blob: 7ccb989b461f897c4211ff4cfc566faa8c531689 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
namespace Ryujinx.Common.Configuration.Hid
{
    public class InputConfig
    {
        /// <summary>
        /// Controller Device Index
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        ///  Controller's Type
        /// </summary>
        public ControllerType ControllerType { get; set; }

        /// <summary>
        ///  Player's Index for the controller
        /// </summary>
        public PlayerIndex PlayerIndex { get; set; }

        /// <summary>
        /// Motion Controller Slot
        /// </summary>
        public int Slot { get; set; }
        
        /// <summary>
        /// Motion Controller Alternative Slot, for RightJoyCon in Pair mode
        /// </summary>
        public int AltSlot { get; set; }

        /// <summary>
        /// Mirror motion input in Pair mode
        /// </summary>
        public bool MirrorInput { get; set; }

        /// <summary>
        /// Host address of the DSU Server
        /// </summary>
        public string DsuServerHost { get; set; }

        /// <summary>
        /// Port of the DSU Server
        /// </summary>
        public int DsuServerPort { get; set; }

        /// <summary>
        /// Gyro Sensitivity
        /// </summary>
        public int Sensitivity { get; set; }

        /// <summary>
        /// Gyro Deadzone
        /// </summary>
        public double GyroDeadzone { get; set; }
        
        /// <summary>
        /// Enable Motion Controls
        /// </summary>
        public bool EnableMotion { get; set; }
    }
}