Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eject Key Code



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Eject Key Code (From: Daniel Tse <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.