Jump to content
  • Advertisement

Archived

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

Razza2003

C++ Simultanious Key Presses

This topic is 5585 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
Advertisement
read the port 0x60 (inp(0x60)), or hook up the keyboard interupt.
let me find a link for you.

http://www.algonet.se/~lars_and/download/keyboard.zip

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!