Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21981

Which Keyboard Was Used?

$
0
0
A few years ago I created a Jeopardy! game, and a Who Wants To Be A Millionaire? game using VB6. I used multiple keyboards (usb and/or wireless) for the three contestants on Jeopardy!, and for the Fastest Finger Round in 'Millionaire'. What I had coded was for the system to look for different keys (each person assigned a specific/different key on his/her keyboard). What I wanted was to use keypads (or keyboards, but preferred the smaller keypads) or even multiple mouse devices. I gave up on the multiple mouse, and postponed the design to check for the SAME key (e.g., the 'easy to hit' space bar) and stayed with the multiple key concept.
My question is this----can VB6 tell WHICH KEYBOARD was used? If so, I could have each contestant 'chime in' by each using his/her own space bar. If not, are there any hardware systems I can connect to a USB (or wireless) where there are three 'buttons' which I can code in VB to determine which was hit first?

Thanks in advance.....

Viewing all articles
Browse latest Browse all 21981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>