GenericControllerInputConfig.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using Ryujinx.Common.Configuration.Hid.Controller.Motion;
  2. namespace Ryujinx.Common.Configuration.Hid.Controller
  3. {
  4. public class GenericControllerInputConfig<Button, Stick> : GenericInputConfigurationCommon<Button> where Button : unmanaged where Stick : unmanaged
  5. {
  6. /// <summary>
  7. /// Left JoyCon Controller Stick Bindings
  8. /// </summary>
  9. public JoyconConfigControllerStick<Button, Stick> LeftJoyconStick { get; set; }
  10. /// <summary>
  11. /// Right JoyCon Controller Stick Bindings
  12. /// </summary>
  13. public JoyconConfigControllerStick<Button, Stick> RightJoyconStick { get; set; }
  14. /// <summary>
  15. /// Controller Left Analog Stick Deadzone
  16. /// </summary>
  17. public float DeadzoneLeft { get; set; }
  18. /// <summary>
  19. /// Controller Right Analog Stick Deadzone
  20. /// </summary>
  21. public float DeadzoneRight { get; set; }
  22. /// <summary>
  23. /// Controller Left Analog Stick Range
  24. /// </summary>
  25. public float RangeLeft { get; set; }
  26. /// <summary>
  27. /// Controller Right Analog Stick Range
  28. /// </summary>
  29. public float RangeRight { get; set; }
  30. /// <summary>
  31. /// Controller Trigger Threshold
  32. /// </summary>
  33. public float TriggerThreshold { get; set; }
  34. /// <summary>
  35. /// Controller Motion Settings
  36. /// </summary>
  37. public MotionConfigController Motion { get; set; }
  38. /// <summary>
  39. /// Controller Rumble Settings
  40. /// </summary>
  41. public RumbleConfigController Rumble { get; set; }
  42. }
  43. }