Millisecond Forums

Dot probe task problem with responsekey

https://forums.millisecond.com/Topic13765.aspx

By Annasnoop - 7/8/2014

I have downloaded the alcohol dot probe task script. everything works fine except of a problem with the response keys.
while it says on the script that this < means left key and that > means right key, on the practice trial it appears to be the other way around. When the probe is on the left side of the screen I press <, I get an ERROR reaction, same thing goes for when the probe is on the right side of the screen, pressing > results in an ERROR sign.
What can I do to fix it?
Thanks,
Anna
By Dave - 7/8/2014

The keys representing '<' and '>' may not be the same on every keyboard (e.g. they are in completely different locations on English vs e.g German keyboards). Thus

#1: Figure out the keyboard scancodes for those keys on your particular keyboard. You do so via Tools -> Keyboard Scancodes...

#2: Edit

<values>
...
/responsekey_left = 51
/responsekey_right = 52
/responsekey_left_label = "<"
/responsekey_right_label = ">"
...
</values>

accordingly.
By Annasnoop - 7/8/2014

First of all thank you for your help, I still don't understand what I'm soppuse to do..
By Dave - 7/8/2014

- Open Inquisit. From its menu, select 'Tools -> Keyboard Scancodes...'.

- Press the '<'-key on your keyboard and write down its scancode.

- Press the '>'-key on your keyboard. and write down the scancode.

- Adjust the portion of the script detailed in my previous reply accordingly.
By Annasnoop - 7/8/2014

Ok, so I did it and the arows are synchronized. So what do you think that means and how do I fix it?
By Dave - 7/8/2014

> Ok, so I did it and the arows are synchronized.

What's "synchronized" supposed to mean? What are the respective scancodes?
By Annasnoop - 7/8/2014

<=51, >=52
By Dave - 7/8/2014

Then everything should be perfectly fine -- those are the scancodes the script expects and works flawlessly with on my test systems. Can you provide (a) a more detailed problem description, (b) an example data file (please attach it to this thread) and (c) specify any changes you made to the script (if any)?