Reading keyboard strokes from different windows through C
I have used struct termios for reading the key pressed.
Is it possible somehow to write a C code which captures the keystrokes of the keyboard when the focus is on some other window ?
i.e. my c code is in background and there is a window on foreground and i am pressing some keys. will my c code be able to detect the keys pressed somehow ?
Please guide !
Last edited by Aquarius_Girl; 05-05-2010 at 06:16 AM.
|