site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com http://lists.apple.com/archives/student-dev/2002/Aug/msg00228.html On Aug 5, 2009, at 7:11 PM, Andre-John Mas wrote: - V. Thane Norton III _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... The keycode for eject is NX_KEYTYPE_EJECT. How to use it with IOHIDPostEvent can be found here: If you are really trying to simulate a keyboard, though, Terry is right. You should have a kext that injects the events at a lower level. Does anyone know the keycode for the eject key? I am trying to get an application to simulate an eject on a remote computer, though it depends on knowing the right key code to send. This email sent to site_archiver@lists.apple.com
participants (1)
-
Thane Norton III