PsychoPy Demo experiment with Response Emulator to automate different types of responses.
This script provides a very simple demo with custom code to automate 3 types of responses in your experiment: keyboard, button mouse click, and polygon mouse click.
Look for the following custom code components and customize according to your needs: ResponseEmulator_keyboard; ResponseEmulator_button; ResponseEmulator_polygon
Note: The code randomly selects a response among the options specified.
Why is this code helpful? This code will allow you to automate the responses in your experiment in order to debug and test your experiment output.