• Advertisement
Sign in to follow this  

Accessing the key buffer?

This topic is 3298 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
SetWindowsHookEx / SendInput should put you in the right direction. Take a look at them.

Share this post


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

  • Advertisement