public bool Initialise(string inputName) { // input name shoud be "device/channel" syntax string[] parts = inputName.Split('/'); if ((parts.Length >= 2) && MoCap.MoCapManager.GetInstance() != null) { device = new MoCap.InputDeviceHandler(parts[0], parts[1]); } return(device != null); }
public bool Initialise(string inputName) { string[] parts = inputName.Split('/'); if (parts.Length >= 2) { device = new MoCap.InputDeviceHandler(parts[0], parts[1]); } return true; }