Detect quickest keypress (gameshow buzzers)
Posted on 2012-08-14
I've got hardware for presenting gameshow buzzers as keyboard input. For testing/writing I'm just using my keyboard to do the sme thing.
I need to determine which contestant buzzed first, which is easy enough using a keypress or keydown event on a textbox for example. (I got a bool vBuzzed which starts false, and the first keypress sets it to true before doing the rest of my code.
However, if 2 buttons are pressed simultaneously, it is ignoring both of them completely. Even if I remove the key events and just watch the textbox, test doesn't appear, which defies the issue of determining quickest buzzer...
Is there a way I can make the app see (and thus detect) these simultaneous presses?