InputConfig.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. namespace Ryujinx.Common.Configuration.Hid
  2. {
  3. public class InputConfig
  4. {
  5. /// <summary>
  6. /// Controller Device Index
  7. /// </summary>
  8. public int Index { get; set; }
  9. /// <summary>
  10. /// Controller's Type
  11. /// </summary>
  12. public ControllerType ControllerType { get; set; }
  13. /// <summary>
  14. /// Player's Index for the controller
  15. /// </summary>
  16. public PlayerIndex PlayerIndex { get; set; }
  17. /// <summary>
  18. /// Motion Controller Slot
  19. /// </summary>
  20. public int Slot { get; set; }
  21. /// <summary>
  22. /// Motion Controller Alternative Slot, for RightJoyCon in Pair mode
  23. /// </summary>
  24. public int AltSlot { get; set; }
  25. /// <summary>
  26. /// Mirror motion input in Pair mode
  27. /// </summary>
  28. public bool MirrorInput { get; set; }
  29. /// <summary>
  30. /// Host address of the DSU Server
  31. /// </summary>
  32. public string DsuServerHost { get; set; }
  33. /// <summary>
  34. /// Port of the DSU Server
  35. /// </summary>
  36. public int DsuServerPort { get; set; }
  37. /// <summary>
  38. /// Gyro Sensitivity
  39. /// </summary>
  40. public int Sensitivity { get; set; }
  41. /// <summary>
  42. /// Gyro Deadzone
  43. /// </summary>
  44. public double GyroDeadzone { get; set; }
  45. /// <summary>
  46. /// Enable Motion Controls
  47. /// </summary>
  48. public bool EnableMotion { get; set; }
  49. }
  50. }