Reversal of detecting right left arrow keys online

URL of experiment:

Description of the problem:
I have the strangest behavior of the online detection of which key is pressed. I have an experiment in which a response is detected by pressing the right or the left arrow keys. I also indicate which answer is correct in the condition excel file. When running online the right and left key presses detected are the opposite of what I press on the keyboard. When I press right arrow key , the recorded answer is left, and vice-versa. When I run the experiment in Builder on the local machine, everything works correctly. Did anybody else encountered this? How did you fix it?

Hi Anca,

That’s strange indeed! Here is a demo experiment of mine, which shows you the last key you pressed. Do you get the correct arrow keys over there?

Best, Thomas