OSWeb - Collecting keyboard response while presenting multiple sketchpads
I am programming an experiment where I am trying to combine the AB and the PRP paradigms in OSWeb. In doing so, speeded responses are required to the first target stimulus (T1). Therefore, I need to collect a keyboard response (either the left arrow or the right arrow key) within the time period starting from the onset of T1 until the end of the trial.
I would use a coroutine item to implement this if I were going to run this experiment locally -In fact, I did to illustrate what I'm trying to achieve, see attached.- However, it seems it doesn't work in OSWeb. Though, mentioned here in this thread that coroutines are supported as of OSWeb 1.3.8. (Oops, I revealed the secret!). I also checked this thread out, but I didn't quite get it.
Could anyone help me implement this in OSWeb?
Many thanks in advance!