Some possible places to experiment:
/System/Library/Frameworks/ApplicationServices.Framework/Frameworks/ 
CoreGraphics.Framework/Headers/CGRemoteOperation.h

In there you will find CGPostMouseEvent() which *MIGHT* do what is  
wanted.

A way to definitely move the mouse is to do  
CGWarpMouseCursorPosition().  Also in CGRemoteOperation.h.  It doesn't  
generate events, but it will move the mouse.

Another possibility is in
/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOHIDLib.h
/System/Library/Frameworks/IOKit.framework/Headers/hidsystem/IOLLEvent.h

You can synthesize an event yourself using IOHIDPostEvent() from  
IOHIDLib.h and NXEventData from IOLLEvent.h.  Although I'm not sure how  
you would properly set all of the fields for IOHIDPostEvent().

At least that's a start and they are public headers.

-----Original Message-----
From: emm00 [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 1:46 AM
To: [EMAIL PROTECTED]
Subject: VNC Server for MacOS X ? :VSMail MX1

Hi All

I'm interested in helping out with a MacOS X version of the VNC server.

I believe a major stumbling point is that the PPostEvent() and 
CursorDeviceMoveTo() functions are not available in MacOS X (Carbon).  
The exiting MacOS Classic version of VNC Server uses these functions to 
input the remote mouse clicks, keystrokes etc into the local system.  
Anyone know how to do this on MacOS X?



--
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to