Millisecond Forums

Key release time

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

By reg_002 - 5/16/2018

Dear all, 

Is there a way to register not the timing of the key press but of the key release? 

Best, 

Pieter

By Dave - 5/17/2018

reg_002 - Thursday, May 17, 2018
Dear all, 

Is there a way to register not the timing of the key press but of the key release? 

Best, 

Pieter


Yes, key releases are defined as responses by prefacing the respective keyboard scan code with a minus sign. I.e.

<trial example>
...
/ validresponse = (-57)
...
</trial>

will accept the release of the spacebar as the response and the trial's latency will reflect the time of that release.