This commit is contained in:
Morilli 2023-08-18 04:58:38 +02:00
parent 4fea6752f3
commit ebf1950873
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ namespace BizHawk.Client.Common
public Bk2Controller(ControllerDefinition definition)
{
_type = new Bk2ControllerDefinition(definition);
foreach ((string axisName, AxisSpec range) in definition.Axes)
{
_myAxisControls[axisName] = range.Neutral;
}
}
public ControllerDefinition Definition => _type;