Millisecond Forums

no response to space bar

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

By Yali - 4/6/2016

Hi,
I met a problem when I was trying to run a few scripts from the test library in Inquest 4 Lab. However, for some reason, the program does not respond when I press "space bar" or "E" and "I" but only respond to "§"(the one below "esc"). Can anybody offer me some tips to solve the problem? Thank you so much!

By Dave - 4/6/2016

Open Tools -> Keyboard Scancodes... and check the values returned for the spacebar, E and I. Post those here.

On most keyboard / keyboard layouts the values should be:

Space: 57
E: 18
I: 23

If the values are different on your machine, you may have to adapt the scripts' various /validresponse etc. attributes accordingly.
By Yali - 4/6/2016

Hey Dave.

The values are correct. But it is still not working.
By Dave - 4/6/2016

Hmm, that's weird. Is there any other application running on your system that might intercept or otherwise mess with keyboard input?

Also, what's the OS (type and exact version) and is your Inquisit 4 installation up to date? Finally, does

---
<block myblock>
/ trials = [1=sequence(space, e, i)]
</block>

<trial space>
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>

<trial e>
/ stimulusframes = [1=mytext]
/ validresponse = (18)
</trial>

<trial i>
/ stimulusframes = [1=mytext]
/ validresponse = (23)
</trial>

<text mytext>
/ items = ("Press SPACE", "Press E", "Press I")
/ select = sequence
</text>
---

work and what's the 'response' columns output in the data file when running

---
<block myblock>
/ trials = [1-3=any]
</block>

<trial any>
/ stimulusframes = [1=mytext]
/ validresponse = (anyresponse)
</trial>

<text mytext>
/ items = ("Press SPACE", "Press E", "Press I")
/ select = sequence
</text>
---
? Thanks.