Skip navigation.
 
mlCGevent and cocoa compatibility
FROM : Ben Lachman
DATE : Fri May 02 08:32:57 2008

Does anyone know how to get the keycode out of a NX_SYSDEFINED 
CGEvent?  If so, is that keycode the same thing you'd get out of say 
(([event data1] & 0xFFFF0000) >> 16)? I'm trying to support the media 
keys on the Apple aluminum keyboards without having iTunes also get 
the events.

Thanks,

->Ben

--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email: <email_removed>
twitter: @benlachman
mobile: 740.590.0009

Related mailsAuthorDate
mlCGevent and cocoa compatibility Ben Lachman May 2, 08:32
mlRe: CGevent and cocoa compatibility John Clayton May 2, 10:34
mlRe: CGevent and cocoa compatibility Bill Cheeseman May 2, 12:15
mlRe: CGevent and cocoa compatibility Ben Lachman May 2, 19:03