GenericControllerInputConfig.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. }
  31. }