Skip to content
Discussion options

You must be logged in to vote

Hi @prashantig25, you can do this by modifying the plugin. I would start by changing the plugin name and plugin file name to something like 'canvas-multiple-keyboard-response'. Then, you can change the response object to be an object that holds arrays for the rt and key, instead of just single values (lines 81-84).

var response = {
  rt: [],
  key: []
};

Then, in the after_response function, you can remove these lines (117-120):

// only record the first response
if (response.key == null) {
  response = info;
}

And instead, you want to add the key and rt value from info (the current response) onto the rt and key arrays in the response object:

response.rt.push(info.rt);
response.key.push(info.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@prashantig25
Comment options

@nrschoen
Comment options

@becky-gilbert
Comment options

@nrschoen
Comment options

Answer selected by becky-gilbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants