Re: Eject key code?
Re: Eject key code?
- Subject: Re: Eject key code?
- From: Terry Lambert <email@hidden>
- Date: Wed, 5 Aug 2009 21:52:46 -0700
On Aug 5, 2009, at 7:11 PM, Andre-John Mas wrote:
Hi,
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.
André-John
I wouldn't be trying to simulate a keypress, given that the key you
are trying to press is being intercepted by BezelServices, and a
simulated keystroke wouldn't be, unless you pretended to be a USB
keyboard and loaded a KEXT to do it. 8-).
Programatically, this would be controlled by the Disk Arbitration
framework. Search <http://developer.apple.com> for DADiskEject.
-- Terry _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden