To import RB730, you can either use:
`python
from psychopy_cedrus.cedrus import RB730
`
or, any time after psychopy.plugins.activatePlugins has been called:
`python
from psychopy.hardware.cedrus import RB730
`
Class to control/read a Cedrus RB-series response box
Empty the input buffer of all characters. Call this to clear any keypresses that haven’t yet been handled.
Return a list of keyEvents Each event has the following attributes:
keyEvt.key is the button pressed (or released) (an int) keyEvt.rt [=float] is the time (in secs) since the rt clock was last reset (a float) keyEvt.direction is the direction the button was going (‘up’ or ‘down’)
allowedKeys will limit the set of keys that are returned (WARNING: info about other keys is discarded) downOnly limits the function to report only the downward stroke of the key