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