Navigate Html Button Reponse using the keyboard #2565
-
Hi everyone, I am trying to make the html button response plugin respond to keyboard input. Ideally, I would like participants to press the arrow keys to switch from button to button (i.e. if they press the right arrow, the button one position to the right is highlighted, if they press the left button, the button one position to the left ist highlighted etc.), and then confirm they selection with another key. Here is the code I tried to add to
Does anyone have a clue where/how to best add the event listener? Or a better idea how to approach the problem? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay, never mind, I was very stupid. The event listener works fine, I was simply editing the wrong script. |
Beta Was this translation helpful? Give feedback.
Okay, never mind, I was very stupid. The event listener works fine, I was simply editing the wrong script.
I doesn't seem like I can close my own issues (sorry if I overlooked something).