Use a push button to answer
Hello, I am very new to OpenSesame and I am trying to use the BrainProducts response button that is connected to a virtual serial port through BNC (BrainProducts TriggerBox) and then to the stimulation PC. I also record the EEG in the setup.
I use an auditory Oddball task and the participant just needs to push the button when he hears the target sound. My task is working great with the keyboard response, but I would like to use the push button to record the answers of the participants (and in the meantime log the response time and the accuracy if possible).
Can I have any help on how to code this in an inline_script or if there is another way to do it ?
Thank you very much for help !