Jump to content
  • Advertisement
Sign in to follow this  
dustydoodoo

Accessing the key buffer?

This topic is 3571 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 am wondering how I would go about making something like a virtual keyboard. I'm not too sure how I would send a key to the key buffer (If this is what I must do in order to accomplish this) Is there a key buffer for the whole computer? And is it possible to send a key to it without using the keyboard? I did read about there being a key buffer allocated by BIOS, but then I read that it only reads the keys within console programs. Is this right? I'm a little lost on what to do.

Share this post


Link to post
Share on other sites
Advertisement
By the time Windows is running, the BIOS is pretty much out of the equation. All modern operating systems (Windows included) have their own drivers for talking directly to the hardware.

In order to create a virtual keyboard, you can use the SendInput API.

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!