2021-04-14 11:28:43 +01:00
|
|
|
|
namespace Ryujinx.Common.Configuration.Hid
|
2020-05-03 03:00:53 +01:00
|
|
|
|
{
|
|
|
|
|
public class InputConfig
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
/// The current version of the input file format
|
2020-05-03 03:00:53 +01:00
|
|
|
|
/// </summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
public const int CurrentVersion = 1;
|
2020-05-03 03:00:53 +01:00
|
|
|
|
|
2021-04-14 11:28:43 +01:00
|
|
|
|
public int Version { get; set; }
|
2020-05-03 03:00:53 +01:00
|
|
|
|
|
2021-04-14 11:28:43 +01:00
|
|
|
|
public InputBackendType Backend { get; set; }
|
2020-09-29 22:32:42 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
/// Controller id
|
2020-09-29 22:32:42 +01:00
|
|
|
|
/// </summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
public string Id { get; set; }
|
2020-09-29 22:32:42 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
/// Controller's Type
|
2020-09-29 22:32:42 +01:00
|
|
|
|
/// </summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
public ControllerType ControllerType { get; set; }
|
2020-09-29 22:32:42 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
/// Player's Index for the controller
|
2020-09-29 22:32:42 +01:00
|
|
|
|
/// </summary>
|
2021-04-14 11:28:43 +01:00
|
|
|
|
public PlayerIndex PlayerIndex { get; set; }
|
2020-05-03 03:00:53 +01:00
|
|
|
|
}
|
2021-04-14 11:28:43 +01:00
|
|
|
|
}
|