aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Common/Configuration/Hid/Controller/Motion/MotionConfigController.cs
blob: 7905ef062f6db60ee6df84056048ea40cae13432 (plain) (tree)
1
2
3
4
5
                                     
                                                            
 
                                                                


















                                                                 
using System.Text.Json.Serialization;

namespace Ryujinx.Common.Configuration.Hid.Controller.Motion
{
    [JsonConverter(typeof(JsonMotionConfigControllerConverter))]
    public class MotionConfigController
    {
        public MotionInputBackendType MotionBackend { 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; }
    }
}