KbWait() - Wait for response for x # seconds or time out?
3 views (last 30 days)
I'm trying to create code where I wait for a user's key response for 5 seconds. If there's no response in 5 seconds, the screen (using Psychtoolbox) should advance.
I've tried KbWait(5), as in 5 seconds, but of course I think this is too good to be true.
Is there anything else I should try?
Thanks so much!