brain-computer interface system? how does it work? if anything, see if you can write a code for the device thatsets its functions to key strokes. like key_1==input_1. and input_1 is the input from your device. i beleive you would have to do the mapping i another script other than 3dg2, sounds more hardware than software