Capturing System-wide keystrokes.
Hi everyone, I am writing an app that runs in the background and captures system wide keystokes in order to manipulate them to produce different effects ie. to change the behavior of the key's actions. Could someone suggest ways to do this. Effectively, I am intercepting keys and depending on which keystroke is received, I have to do something like a key substitution/manipulation. So, what approach is required. eg : If the user presses Ctrl+S, I may have to intercept this and send Alt+S to the system. Thus I substitute Ctrl with Alt. Please advice. Thanks & Regards, Dev Yahoo! Health - Feel better, live better Received: from [203.197.84.9] by web21502.mail.yahoo.com via HTTP; Mon, 29 Jul 2002 07:36:25 PDT Date: Mon, 29 Jul 2002 07:36:24 -0700 (PDT) From: Devdutt Patnaik <devdutt_patnaik@yahoo.com> Subject: Capturing System-wide keystrokes. To: darwin-kernel@lists.apple.com, darwin-drivers@lists.apple.com, darwin-development@lists.apple.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Length: 658 X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b X-Converted-To-Plain-Text: Alternative section used was text/plain Hi everyone, I am writing an app that runs in the background and captures system wide keystokes in order to manipulate them to produce different effects ie. to change the behavior of the key's actions. Could someone suggest ways to do this. Effectively, I am intercepting keys and depending on which keystroke is received, I have to do something like a key substitution/manipulation. So, what approach is required. eg : If the user presses Ctrl+S, I may have to intercept this and send Alt+S to the system. Thus I substitute Ctrl with Alt. Please advice. Thanks & Regards, Dev Yahoo! Health - Feel better, live better _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Devdutt Patnaik