Exemplo n.º 1
0
 private bool IsControllerTypeMatch(Constraint.ControllerType controllerType)
 {
     return(controllerType == Constraint.ControllerType.Primary ||
            (controllerType == Constraint.ControllerType.Translational && NativeName.EndsWith("T")) ||
            (controllerType == Constraint.ControllerType.Rotational && NativeName.EndsWith("R")));
 }