• 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: Thane Norton III <email@hidden>
  • Date: Wed, 5 Aug 2009 22:48:32 -0700

The keycode for eject is NX_KEYTYPE_EJECT. How to use it with IOHIDPostEvent can be found here:

http://lists.apple.com/archives/student-dev/2002/Aug/msg00228.html

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.

On Aug 5, 2009, at 7:11 PM, Andre-John Mas wrote:

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.

- V. Thane Norton III _______________________________________________ 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: Re: Eject key code?
  • Next by Date: PCI bus-master DMA
  • Previous by thread: Re: Eject key code?
  • Next by thread: resolving addresses for the system framework
  • Index(es):
    • Date
    • Thread