Thanks. I looked into it - compiled and run. The code uses the keycodes as well, and finally doesn't give special characters (tested with JollyVNC client and an iPad app).
I think I can get it running "good enough" - but of course a nice solution is preferred. At least only the "ANSI" named subset will have different keycodes. But those nasty combined characters like é will make me set up a lookup table that get's filled up with trial and error on program start. Eiko Bleicher Am 19.05.2010 um 14:43 schrieb Paul Sanders: > > I am working on a remote-controller, i.e. take one device (be it a Mac or a > > mobile client) and control another > > Mac. So the application runs in background and the events should be > > delivered to the front-most application. > > > Moving the mouse around works by posting the corresponding events, but I > > have a hard time to simulate key strokes. > > ... > I would take a look at the source code for VNC: > > http://sourceforge.net/projects/osxvnc/ > > Indeed, if you write a client that can talk to a VNC server you don't need to > write your own server at all. > > Paul Sanders > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com