keyboard programming with inline_script item
As part of my thesis, I program a sequence learning task on OpenSesame.
Sequences consist of letters F, G, H, I presented either in sequential order or randomly. To answer the participants must press the keys of the keyboard E, R, Y, U.
To determine if there is indeed a learning, I ask them to carry out after this task a task of generation of letters. from a letter displayed in the center of the screen I ask the participants to recall the following 3 letters. From the sequence following the serial order presented in the previous task. I used the inline_script item. I managed to display the letter serving as a clue on the sketchpad and then transfer it to my canvas.
The difficulty I currently have is that I would like the letters to display when I press E, R, Y or U because at the moment I can only display the letters when I press the keys keyboard F, G, H, I. I thought maybe use: my_keyboard = Keyboard(keylist=['', ''], timeout=keypress) but I have a doubt.
Anyone have an idea?