using win api

i did some lookup it isnt that hard

GetKeyState(0x61); // 0x61 is the virtual key if not presses == 1 else isnt 1

make sure you include #include <windows.h>

here here is the page of al virtual keys

http://msdn.microsoft.com/en-us/library/dd375731(v=VS.85).aspx

Last edited by flits; 10/18/10 10:46.

"empty"