Send response triggers to EEG

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win7
PsychoPy version (e.g. 1.84.x): PsychoPy3
Standard Standalone? (y/n) If not then what?: yes
What are you trying to achieve?:
My goal is to send a trigger to the EEG (Biosemi) computer whenever a key is pressed. The trigger should vary depending on whether the response is accurate or not.

What did you try to make it work?:
This is what I’m having for now, but it doesn’t work.

I’m also having the keyboard component force ending the trial, not sure if it’s relevant though.

What specifically went wrong when you tried that?:
I tried a few things. I first had everything enabled, and there was no trigger sent over. So I disabled the code component, still nothing. There was one time I tried to uncheck the force end of the keyboard component, and that was the only time I saw triggers sent over, but the trigger did not change across accurate/inaccurate trials.

Thank you in advance for any help!