Defining different key responses in a trial

Hi. I want to define different keyboard responses in a trial. My trial is as folliw. 5 pictures come after each other. I intend to define “space” key for the first four pics, and “y” and “n” for the last one. I wonder wheter it is possible to do that in the builder view.

Thanks in advance for your help.