2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Listxml
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[XmlRoot("control")]
|
|
|
|
|
public class Control
|
|
|
|
|
{
|
|
|
|
|
/// <remarks>(joy|stick|paddle|pedal|lightgun|positional|dial|trackball|mouse|only_buttons|keypad|keyboard|mahjong|hanafuda|gambling)</remarks>
|
2025-09-26 11:42:28 -04:00
|
|
|
[Required]
|
2025-09-26 10:20:48 -04:00
|
|
|
[XmlAttribute("type")]
|
|
|
|
|
public string? Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("player")]
|
|
|
|
|
public string? Player { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("buttons")]
|
|
|
|
|
public string? Buttons { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("reqbuttons")]
|
|
|
|
|
public string? ReqButtons { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("minimum")]
|
|
|
|
|
public string? Minimum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("maximum")]
|
|
|
|
|
public string? Maximum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("sensitivity")]
|
|
|
|
|
public string? Sensitivity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
|
|
|
[XmlAttribute("keydelta")]
|
|
|
|
|
public string? KeyDelta { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("reverse")]
|
|
|
|
|
public string? Reverse { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric?</remarks>
|
|
|
|
|
[XmlAttribute("ways")]
|
|
|
|
|
public string? Ways { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric?</remarks>
|
|
|
|
|
[XmlAttribute("ways2")]
|
|
|
|
|
public string? Ways2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Numeric?</remarks>
|
|
|
|
|
[XmlAttribute("ways3")]
|
|
|
|
|
public string? Ways3 { get; set; }
|
|
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|