• 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: Damien Bobillot <email@hidden>
  • Date: Mon, 26 Jun 2006 19:41:08 +0200

Daniel Tse worte :

I was wondering if someone can tell what the keycode for the Eject Key is. Similarly, is there any documentation on the keycodes of all the other non-ASCII keys like Caps Lock, the volume up/down keys on the standard mac keyboard? I have tried searching Apple/ Developer but didn't find any tables or docs. I even tried using a key event grabber but the eject key takes precedence and it's not registered.

The eject key, like sound/light up/down keys, don't have an associated keycode and can't be accessed/listened with official APIs (even with GetEventMonitorTarget() and CGEventTapCreate()). You may need to write a kernel extension, or raw keyboard reading to access them.


--
Damien Bobillot

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Eject Key Code
      • From: Casey Fleser <email@hidden>
References: 
 >Eject Key Code (From: Daniel Tse <email@hidden>)

  • Prev by Date: Re: Eject Key Code
  • Next by Date: Re: Attaching subclass of NSImageCel to a NSMatrix
  • Previous by thread: Eject Key Code
  • Next by thread: Re: Eject Key Code
  • Index(es):
    • Date
    • Thread