MotionConfigController.cs 659 B

12345678910111213141516171819202122232425
  1. using System.Text.Json.Serialization;
  2. namespace Ryujinx.Common.Configuration.Hid.Controller.Motion
  3. {
  4. [JsonConverter(typeof(JsonMotionConfigControllerConverter))]
  5. public class MotionConfigController
  6. {
  7. public MotionInputBackendType MotionBackend { get; set; }
  8. /// <summary>
  9. /// Gyro Sensitivity
  10. /// </summary>
  11. public int Sensitivity { get; set; }
  12. /// <summary>
  13. /// Gyro Deadzone
  14. /// </summary>
  15. public double GyroDeadzone { get; set; }
  16. /// <summary>
  17. /// Enable Motion Controls
  18. /// </summary>
  19. public bool EnableMotion { get; set; }
  20. }
  21. }