rename FloatSingle -> SingleFloat

This commit is contained in:
adelikat 2020-03-22 12:19:40 -05:00
parent ec36ed6206
commit ddaa6fab36
3 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ namespace BizHawk.Client.EmuHawk
RangeY = button.MaxValue // TODO: ability to have a different Y than X
});
break;
case PadInputType.FloatSingle:
case PadInputType.SingleFloat:
PadBox.Controls.Add(new VirtualPadAnalogButton
{
Name = button.Name,

View File

@ -130,7 +130,7 @@ namespace BizHawk.Client.EmuHawk
switch (button.Type)
{
case PadInputType.AnalogStick:
case PadInputType.FloatSingle:
case PadInputType.SingleFloat:
case PadInputType.TargetedPair:
// analog
searchSet = analogs;

View File

@ -9,7 +9,7 @@ namespace BizHawk.Client.EmuHawk
{
Boolean, // A single on/off button
AnalogStick, // An analog stick X,Y Pair
FloatSingle, // A single analog button (pressure sensitive button for instance)
SingleFloat, // A single analog button (pressure sensitive button for instance)
TargetedPair, // A X,Y pair intended to be a screen coordinate (for zappers, mouse, stylus, etc)
DiscManager
}
@ -69,7 +69,7 @@ namespace BizHawk.Client.EmuHawk
public SingleFloatSchema(int x, int y)
: base(x, y)
{
Type = PadInputType.FloatSingle;
Type = PadInputType.SingleFloat;
}
}