2019-12-21 20:52:31 +01:00
|
|
|
|
namespace Ryujinx.Common.Configuration.Hid
|
|
|
|
|
{
|
|
|
|
|
public class NpadController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Enables or disables controller support
|
|
|
|
|
/// </summary>
|
2020-04-30 14:07:41 +02:00
|
|
|
|
public bool Enabled { get; set; }
|
2019-12-21 20:52:31 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controller Device Index
|
|
|
|
|
/// </summary>
|
2020-04-30 14:07:41 +02:00
|
|
|
|
public int Index { get; set; }
|
2019-12-21 20:52:31 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controller Analog Stick Deadzone
|
|
|
|
|
/// </summary>
|
2020-04-30 14:07:41 +02:00
|
|
|
|
public float Deadzone { get; set; }
|
2019-12-21 20:52:31 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controller Trigger Threshold
|
|
|
|
|
/// </summary>
|
2020-04-30 14:07:41 +02:00
|
|
|
|
public float TriggerThreshold { get; set; }
|
2019-12-21 20:52:31 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Left JoyCon Controller Bindings
|
|
|
|
|
/// </summary>
|
2020-04-30 14:07:41 +02:00
|
|
|
|
public NpadControllerLeft LeftJoycon { get; set; }
|
2019-12-21 20:52:31 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Right JoyCon Controller Bindings
|
|
|
|
|
/// </summary>
|
2020-04-30 14:07:41 +02:00
|
|
|
|
public NpadControllerRight RightJoycon { get; set; }
|
2019-12-21 20:52:31 +01:00
|
|
|
|
}
|
|
|
|
|
}
|