Re: Rerouting keyboard input
Re: Rerouting keyboard input
- Subject: Re: Rerouting keyboard input
- From: Matt Burnett <email@hidden>
- Date: Mon, 7 Jul 2008 22:07:49 -0500
Take a look at the darwin-dev lists. You could reroute the keyboard
events in kernel space to go to your daemon instead of its typical
path to user land. Then have your daemon send the events over the
network to a daemon on a 2nd computer, then have the 2nd daemon
reinject them to your target system. Take a look at the IOHIKeyboard
class, it is easily hookable. It isnt too different to do the same
with mouse events as well.
On Jul 7, 2008, at 7:34 AM, em wrote:
I would like to be able to reassign the primary system keyboard
input so as to direct it to an incoming network stream. It's a
general query at present and any suggestions would be appreciated.
I'm leaning toward writing a Cocoa/Objective C/PPC Masm app--
locating and modifying the "remote apple events" api (if there is
one), but i'm not sure whether this can be done by simply re-
directing a unix pipe, or tweaking Darwin.
thanks,
em
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden