ButtonSchema - lock down Location setting

This commit is contained in:
adelikat 2020-03-22 13:21:38 -05:00
parent 1c9260f7cf
commit 90a03f3f6a
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@ namespace BizHawk.Client.EmuHawk
public string Name { get; set; }
public string DisplayName { get; set; }
public PadInputType Type { get; protected set; } = PadInputType.Boolean;
public Point Location { get; set; }
public Point Location { get; protected set; }
public Bitmap Icon { get; set; }
public Size TargetSize { get; set; } // Specifically for TargetedPair, specifies the screen size
public string[] SecondaryNames { get; set; } // Any other buttons necessary to operate (such as the Y axis)

View File

@ -669,8 +669,7 @@ namespace BizHawk.Client.EmuHawk
new ButtonSchema(311, 84)
{
Name = $"P{controller} Colon",
DisplayName = ":",
Location = new Point(311, 84)
DisplayName = ":"
},
new ButtonSchema(332, 84)
{