KbQueueCreate alternative for windows

Hi all,

My code uses Kb functions to record key presses while playing sounds. More specifically, there are portions of my code when it stops for several seconds, and I want to be able to record key presses while this happens. I am also interested in subject's reaction times, so I need to be able to measure millisecond reactions in response to rapidly occurring stimuli.

For these reasons, I have thus far been using KbQueueCreate, running the code on MAC OS. This works. However, the EEG operating system I now need to use only runs Windows, which is giving me an error along the lines of: "KbQueueCreate functions only work on Mac OS systems."

Please help!

Thanks, Julian