• 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: Play/Pause, rew/ff keys ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Play/Pause, rew/ff keys ...


  • Subject: Re: Play/Pause, rew/ff keys ...
  • From: Peter Maurer <email@hidden>
  • Date: Tue, 11 Nov 2008 19:40:44 +0100

So I was hoping someone else had figured this out. :-)

A quick look at this list's archive reveals this post ...

<http://lists.apple.com/archives/cocoa-dev/2007/Aug/msg00499.html>

... by yours truly, which was later followed by Rogue Amoeba's aforementioned take on this. Look here for the explanation they posted for the code Bill linked to earlier:

<http://www.rogueamoeba.com/utm/posts/Article/mediaKeys-2007-09-29-17-00.html >

Kevin is right, though: To get this to work the way it _should_ work, you'll need an NX_SYSDEFINED event tap. The only working solution posted online that I'm aware of is available from a German developers discussion board, namely here:

<http://www.osxentwicklerforum.de/thread.php?postid=76534>

Use the code from the 8th post in that thread (the one that starts with "Relief... finally!"), but use ...

CFRunLoopAddSource(runLoop, eventSrc, kCFRunLoopCommonModes);

... instead of ...

CFRunLoopAddSource(runLoop, eventSrc, kCFRunLoopDefaultMode);

... in line 27 of the second code segment.

Cheers,

Peter.
_______________________________________________

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: Play/Pause, rew/ff keys ...
      • From: "I. Savant" <email@hidden>
References: 
 >Play/Pause, rew/ff keys ... (From: "I. Savant" <email@hidden>)

  • Prev by Date: another n00b question -- addObserver weirdness
  • Next by Date: Re: NSTableView text color of cells in highlighted rows unreadable
  • Previous by thread: Re: Play/Pause, rew/ff keys ...
  • Next by thread: Re: Play/Pause, rew/ff keys ...
  • Index(es):
    • Date
    • Thread