Inheritance: MonoBehaviour
Esempio n. 1
0
 private void OnEnable()
 {
     emotivController = InterfaceManager.Instance.eegManager.emotivControl;
     emotivController.textOutputFunction = statusViewScrolldown.AddToScrolldown;
     InterfaceManager.Instance.eegManager.StartEmotivInsight();
     emotivController.userName    = userName;
     emotivController.password    = password;
     emotivController.profileName = profileName;
 }
Esempio n. 2
0
 /*
  * It will add
  */
 void OnEnable()
 {
     emotivController = InterfaceManager.Instance.eegManager.emotivControl;
     AddTrainingControlEmotivConfig();
     Debug.Log("emotiv menu enabled");
     mentalCommands[0] = Emotiv.EdkDll.IEE_MentalCommandAction_t.MC_NEUTRAL;
     mentalCommands[1] = Emotiv.EdkDll.IEE_MentalCommandAction_t.MC_PUSH;
     mentalCommands[2] = Emotiv.EdkDll.IEE_MentalCommandAction_t.MC_PULL;
     mentalCommands[3] = Emotiv.EdkDll.IEE_MentalCommandAction_t.MC_LIFT;
     mentalCommands[4] = Emotiv.EdkDll.IEE_MentalCommandAction_t.MC_DROP;
     mentalCommands[5] = Emotiv.EdkDll.IEE_MentalCommandAction_t.MC_LEFT;
     //ActivateEmotivCommands();
     rotatingFigureOriginalPosition      = rotatingFigures[0].transform.position;
     emotivController.textOutputFunction = statusViewScrolldown.AddToScrolldown;
     InterfaceManager.Instance.eegManager.StartEmotivInsight();
 }