Multiplatform keystroke listener

Page 1 of 1

1 Replies - 154 Views - Last Post: 10 January 2011 - 11:50 AM Rate Topic: -----

#1 LinuxFan  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 26
  • View blog
  • Posts: 82
  • Joined: 19-December 10

Multiplatform keystroke listener

Posted 10 January 2011 - 11:48 AM

Hey everyone, back to bug you yet again :)

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 :P

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


Is This A Good Question/Topic? 0
  • +

Replies To: Multiplatform keystroke listener

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6058
  • View blog
  • Posts: 23,496
  • Joined: 23-August 08

Re: Multiplatform keystroke listener

Posted 10 January 2011 - 11:50 AM

Sorry, we don't play this game here. Too much potential for malicious use.

Closed.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1