• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Eject key code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Eject key code? (From: Andre-John Mas <email@hidden>)

  • Prev by Date: resolving addresses for the system framework
  • Next by Date: Re: Eject key code?
  • Previous by thread: Re: Eject key code?
  • Next by thread: Re: Eject key code?
  • Index(es):
    • Date
    • Thread