Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Getting key that ended video

Hi all,

I'm hoping to have a video end on a keypress, but for the behaviour of the experiment to then differ depending on which key was pressed. Is there a function that can be called in an inline script that returns the last key pressed? I can create my own keypress event, but then that would require two keypresses (one to end the video and the next to determine the subsequent behaviour). I'd like to do it with just one keypress.\

Thanks (and thanks Sebastiaan for the great software).

Mark

Comments

  • I'm closing this, because it strikes me as a duplicate of #4943.

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

This discussion has been closed.