Skip to content

Key binding #826

Answered by jodeleeuw
AustinThoughtLab asked this question in Q&A
Jul 2, 2020 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I'm guessing that you mean in the experiment data file so that it is clear what each key means? Is that right?

If so, you could use:

jsPsych.data.addProperties({
	short_key: 'f',
	long_key: 'j'
})

This will add two columns to your data for every trial indicating the mapping for short and long.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jodeleeuw
Comment options

@AustinThoughtLab
Comment options

@jodeleeuw
Comment options

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