measure button release time


Author
Message
juliane_d
juliane_d
Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)
Group: Forum Members
Posts: 12, Visits: 39
Dave - Thursday, March 8, 2018
juliane_d - Thursday, March 8, 2018
Hi there,

Is it possible to measure the response time as a button release time instead of onset of button press?
And in this line, would it be possible to implement a response trial that begins on participants releasing a keypress?

thanks again,
Juliane


Yes, a <trial> can accept a key release as response. To specify a release prepend a minus sign to the respective keyboard scan code. E.g.

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

would accept a release of the spacebar as its response.

thanks a lot, works nicely!

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
juliane_d - Thursday, March 8, 2018
Hi there,

Is it possible to measure the response time as a button release time instead of onset of button press?
And in this line, would it be possible to implement a response trial that begins on participants releasing a keypress?

thanks again,
Juliane


Yes, a <trial> can accept a key release as response. To specify a release prepend a minus sign to the respective keyboard scan code. E.g.

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

would accept a release of the spacebar as its response.

juliane_d
juliane_d
Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)Expert (1.4K reputation)
Group: Forum Members
Posts: 12, Visits: 39
Hi there,

Is it possible to measure the response time as a button release time instead of onset of button press?
And in this line, would it be possible to implement a response trial that begins on participants releasing a keypress?

thanks again,
Juliane


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search