nyma - do button name overrides on analog stick suffixes
This commit is contained in:
parent
0862024ba6
commit
5404fb90d7
|
@ -172,7 +172,7 @@ namespace BizHawk.Emulation.Cores.Waterbox
|
|||
case InputType.Axis:
|
||||
{
|
||||
var data = input.Extra.AsAxis();
|
||||
var fullName = $"{name} {input.Extra.AsAxis().NameNeg} / {input.Extra.AsAxis().NamePos}";
|
||||
var fullName = $"{name} {overrideName(data.NameNeg)} / {overrideName(data.NamePos)}";
|
||||
|
||||
ret.AxisControls.Add(fullName);
|
||||
ret.CategoryLabels[fullName] = category;
|
||||
|
@ -184,7 +184,7 @@ namespace BizHawk.Emulation.Cores.Waterbox
|
|||
var val = c.AxisValue(fullName);
|
||||
b[byteStart] = (byte)val;
|
||||
b[byteStart + 1] = (byte)(val >> 8);
|
||||
});
|
||||
});
|
||||
break;
|
||||
}
|
||||
case InputType.AxisRel:
|
||||
|
|
Loading…
Reference in New Issue