I'm currently learning C++ (with Java/Python background), and I know how to listen for keystrokes on a Windows PC. However, I'm using linux now, and I'd like to know how to listen to system keystroke events platform-independently so that I can easily run it on either my windows OR linux machines.
I'm making something similar to *** REMOVED LINK ***, but I'd like to use C++ in this case. Too often in KDE I close something without saving
I've done a few google searches, but I keep finding ones for windows only (using windows.h)... Any help would be appreciated. Thanks!
This post has been edited by JackOfAllTrades: 10 January 2011 - 11:50 AM