C++ Simultanious Key Presses
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]
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
let me find a link for you.
http://www.algonet.se/~lars_and/download/keyboard.zip
there you go, mate.
---
novocaine thru yer veinz
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement