This flow allows you to use Mental Commands to simulate pressing a keystroke.
To import this example to Node-RED:
- Start Node-RED in your Terminal or cmd window
- On your web-browser, go to http://127.0.0.1:1880 to open Node-RED
- On the top-right screen, go to Menu/Import/Clipboard and paste the contents of the JSON file below in "example directory".
- This examples requires:
On cmd/terminal, go to
~/.node-red
and enter these commands (local install):
a. EmotivBCI Node-RED Toolbox:$ npm install node-red-contrib-emotiv-emotiv-bci
b. EMOTIV keyboard node:$ npm install node-red-contrib-emotiv-keyboard
Since all BCI Node-Red flows and other Emotiv applications share one instance of Cortex Service, so you should only run/deploy one flow at a time.