GenericControllerInputConfig.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 Trigger Threshold
  24. /// </summary>
  25. public float TriggerThreshold { get; set; }
  26. /// <summary>
  27. /// Controller Motion Settings
  28. /// </summary>
  29. public MotionConfigController Motion { get; set; }
  30. /// <summary>
  31. /// Controller Rumble Settings
  32. /// </summary>
  33. public RumbleConfigController Rumble { get; set; }
  34. }
  35. }