Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


C++ Simultanious Key Presses

This topic is 5760 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

Does anyone know how I can get simultanious key presses, for example pressing [Space] [Up] and [Left] at the same time, that is multiplatform, for example, it will run on Linux, Dos, and Windows without any OS specific functions. At the moment I am using: if (kbhit()) c=getch(); Thx for any help. [edited by - Razza2003 on February 9, 2003 3:10:28 AM]

Share this post

Link to post
Share on other sites
read the port 0x60 (inp(0x60)), or hook up the keyboard interupt.
let me find a link for you.


there you go, mate.

novocaine thru yer veinz

Share this post

Link to post
Share on other sites

  • 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!