EEG Keyboard Emulator
keyboard emulators or keystroke generators often make use of the Operating System's UI functionality to send the keystrokes to applications. Since Blender comes with its own UI the codes won't be recognized. 

I don't know much about Mac OS and Macs in general because I don't use them anymore but maybe there are other tools that provide the functionality on a lower OS level. There certainly are some for Windows.