예제 #1
0
 public Bk2Controller(ControllerDefinition definition)
 {
     _type            = new Bk2ControllerDefinition(definition);
     _controlsOrdered = Definition.ControlsOrdered
                        .SelectMany(c => c)
                        .Select(c => new ControlMap
     {
         Name   = c,
         IsBool = _type.BoolButtons.Contains(c),
         IsAxis = _type.AxisControls.Contains(c)
     })
                        .ToList();
 }
예제 #2
0
 public Bk2Controller(ControllerDefinition definition)
 {
     _type = new Bk2ControllerDefinition(definition);
 }