Keypress Response¶
A keypress response records all keys that a participant presses during a trial.
Keypress is a background response, meaning that it is invisible to participants. It can be used to record background keypresses passively.
Required Properties¶
type¶
Optional Properties¶
blacklist¶
delay¶
- Definition: Delay the displaying of a response (relative to the latest onset of all stimuli on a given trial) by a certain number of seconds. This setting can be useful for forcing participants to read some text before making a response.
- Possible values: A number of seconds. Decimals are supported.
- Default value:
0
- This property is useful for forcing participants to read some text stimulus before responding.
multiple¶
-
Definition: If
true
, then record all key presses during a trial; iffalse
, only the first key press will be recorded.Note
When there is only a keypress response on a trial, and multiple is set to
false
, the trial will terminate once the key press is recorded. -
Possible values:
true
,false
- Default value:
true
parent¶
- Definition: If specified, this response will inherit all properties from another defined response (aka, the parent), unless the same property is explicitly defined in this response.
- Possible values: The name of another defined response.
whitelist¶
- Definition: a list of characters, such as
["d", " ", "k"]
, to indicate which keys FindingFive should monitor. Key presses outside the whitelist are ignored and not recorded. - Possible values: A list of keys (i.e.
["d", " ", "k"]
). - Default value: none
- See Also:
blacklist
Recorded Data¶
- value: the text typed in by the participant
- rt: the duration in milliseconds between the last key press and the current one; for the first key press, rt is the duration between the activation of this response and the first key press.