Register multiple keyboard responses while playing video
I can't seem to find the way I could collect multiple keyboard responses (with one line per keyboard response in the csv. file); while playing a video.
Concretely, a video will run and multiple visual stimuli will be shown simultaneously. The participants have to respond for one specific visual stimuli, which will appear multiple times during video. I need the Response time for each time they press the space bar. It can count the response time from the begin of the video or from the previous keyboard response, it doesn't matter as long as I can calculate how much time they took to answer, for each stimuli separately.
Can someone tell me how to organise the items in order to do that?
Thank you very much!