measure button release time


measure button release time

Author
Message
juliane_d
juliane_d
Respected Member
Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)

Group: Forum Members
Posts: 10, Visits: 33
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


Dave
Dave
Supreme Being
Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)Supreme Being (428K reputation)

Group: Administrators
Posts: 8.9K, Visits: 38K
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
Respected Member
Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)Respected Member (469 reputation)

Group: Forum Members
Posts: 10, Visits: 33
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!

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search