I’m new to Superlab and have a query about how to limit the response keys to only the selected keys. I’m writing a simple and biconditioning experiment whereby participants are presented two stimuli of two different food items on each trial. They are asked to guess, initially, whether the presented items will cause an allergic reaction in an imaginary patient. I need the participants to press either the Y key to indicate they think the two items will cause an allergic reaction, or the N key to indicate that the two items will not cause an allergic reaction. Immediately following their response, they will be given the appropriate feedback of “Correct, allergic reaction” or “Incorrect, no reaction”. Then the next trial is presented and so on. At the moment, I am unable to limit participant’s response to just the Y or N key. That is, although pressing the Y key will lead to the “Correct, allergic reaction” feedback, and pressing the N key will lead to the other outcome of “Incorrect, allergic reaction”, pressing any other keys on the keypad will also result in the feedback of “Incorrect, allergic reaction”.
Can anyone tell me how to set it up on Superlab so that pressing any other keys besides Y and N will not result in anything, i.e., only pressing Y or N will lead to the desired feedback?