• 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
CGevent and cocoa compatibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGevent and cocoa compatibility


  • Subject: CGevent and cocoa compatibility
  • From: Ben Lachman <email@hidden>
  • Date: Fri, 2 May 2008 02:32:57 -0400

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@hidden
twitter: @benlachman
mobile: 740.590.0009



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CGevent and cocoa compatibility
      • From: John Clayton <email@hidden>
  • Prev by Date: Re: Dragging a window
  • Next by Date: Image reflection in IKImageBrowserView
  • Previous by thread: Re: Dragging a window
  • Next by thread: Re: CGevent and cocoa compatibility
  • Index(es):
    • Date
    • Thread