detecting responses/signals from external button box #1748
Unanswered
phileasheim
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I've been able to connect to some external hardware to jsPsych (e.g., EEG), but it has usually required adding one more piece of software in the loop that has lower-level access to the hardware. I don't know much about it, but it looks like there is an experimental api for USB devices: https://web.dev/usb/. Since you are in the lab and can control what browser you are using this option might be viable. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
we are currently working on moving our online-study back to the lab and we would love to continue conducting our experiments with jsPsych. Now we are struggling with detecting responses given with a response button via an input-output-device (button box) which is connected to the PC via USB. The PC recognizes the device as "data acquisition device".
In the past we used the software presentation (NeuroBehavioral Systems), which allows you to define the button-box as input-channel and so to recognize the button-press as response.
We've hoped, that we could somehow detect signals from the button box with jsPsych.ALL_KEYS, but made the experience that this is probably limited to the input from keyboard devices.
Has anyone experiences with linking jsPsych-trials (like html-keyboard-response) to signals/responses from this kind of devices?
Beta Was this translation helpful? Give feedback.
All reactions