Hi
I have a project created by builder (that is working!) and I would like to add a scanner emulator that will generate a ‘5’ key press every TR=1.5sec (according to the way the scanner is connected as my institute). Can I do that within the builder, or is there no choice but taking the _lastrun.py, editing it, and leave the builder for good?
Hope it’s not too vague. I’ll happily rephrase if needed.
Hi, we’ve run into the same issue. Just wondering whether you’ve managed to resolve it?
If you install the monkeys PlugIn you can set up a regular key press in.pilot mode
Wow, that really worked! Thank you so much!
If you want to do this outside of pilot mode, you can do what the monkeys plugin does under the hood, but in a Code Component:
<name of a keyboard Component>.device.makeResponse("5", t)
Note that this will only work locally as the PsychoJS implementation of Keyboard doesn’t have a makeResponse method