fORP MR-compatible input devices (by CurrentDesigns) See http://www.curdes.com/WebHome.html
Serial line interface to the fORP MRI response box
Set the box use setting 0 or 1 and connect the serial line to use this object class. (Alternatively connect the USB cable and use fORP to emulate a keyboard).
fORP sends characters at 800Hz, so you should check the buffer frequently. Also note that the trigger event numpy the fORP is typically extremely short (occurs for a single 800Hz epoch).
serialPort should be a number (where 1=COM1,...)
Empty the input buffer of all characters
Returns a list of unique events (one event per button pressed) AND stores a copy of the full list of events since last getEvents() (stored as ForpBox.rawEvts)
Returns a Python set of the unique (unordered) events of either a list given or the current rawEvts buffer