I’m setting up a new experiment in which participants are taught two different words.
Before the test phase, there are 2 practice blocks:
In the first block, participants press keys  or  to listen to two different words (habituation phase);
In the second one, participants listen to the two different words and have to respond  or , depending on which one is it (identification phase).
For the second block, I know what is the procedure I have to go through. However, I actually don’t know how to set up the trials/events for the first block.
The point is that usual experimental procedures involve seeing/listening to a stimulus and then respond, and not the opposite: first press a key and have an auditory response. In the first block, I need participants to press key  or  and listen to word  or , respectively.
Is this doable?
Many thanks in advance.