respond_any_key: Response is accepted with any key press

Description Usage Details See Also

View source: R/helpers_misc.R

Description

Response is accepted with any key press

Usage

1

Details

Many of the functions within the trial_ family are designed to allow participants to respond using a key press, generally by specifying a a choices argument that indicates which keys will be accepted as valid responses (e.g., choices = c("f","j")). There are also cases where you may wish to allow every key to be a valid response (e.g., in situations where "Press any key to continue" is a sensible prompt). In those cases, specifying choices = respond_any_key() will produce the desired behaviour.

See Also

respond_no_key, trial_html_keyboard_response, trial_image_keyboard_response, trial_audio_keyboard_response, trial_video_keyboard_response


djnavarro/jaysire documentation built on April 12, 2021, 4:25 a.m.