# KbQueueCreate alternative for windows

**URL:** <https://psychtoolbox.discourse.group/t/kbqueuecreate-alternative-for-windows/1188>\
**Category:** Uncategorized\
**Created:** [October 28, 2011, 11:31pm UTC](https://psychtoolbox.discourse.group/t/kbqueuecreate-alternative-for-windows/1188 "2011-10-28T23:31:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [October 28, 2011, 11:31pm UTC](https://psychtoolbox.discourse.group/t/kbqueuecreate-alternative-for-windows/1188/1 "2011-10-28T23:31:04Z")

</div>

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
