Jump to content
  • Advertisement
Sign in to follow this  
reaperrar

GetKeyboardState not registering all keys?

This topic is 2278 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using GetKeyboardState and filling an array of 256 chars.

If I press individual keys down, each one registers successfully. If I press two keys simultaneously, everything is fine. If I press 3+ keys down, a max of 3 are registered, sometimes only 2... the first ones pressed.

Why is this?

Share this post


Link to post
Share on other sites
Advertisement
Most keyboards are limited technically by how they work. There's a great article on this someplace that explains the electronics behind it, but I couldn't find it with a quick Google search; even still, poking around should turn it up fairly easily.

Share this post


Link to post
Share on other sites
Probably not, unfortunately. Although I do hear rumours that some keyboards are capable of registering every key individually.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!