GithubHelp home page GithubHelp logo

kakazzzz / magickeys Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zsszatmari/magickeys

0.0 2.0 0.0 351 KB

This is a preference pane for Mac OS X 10.7+ that enables hardware media keys (prev, play, next) to be routed to 3rd-party sandboxed applications in a nice way, without unwanted side effects. This has been specifically created with G-Ear, a native Google Music player for Mac in mind, but any suggestion or patch is welcome!

Home Page: http://www.treasurebox.hu/magickeys

Objective-C 100.00%

magickeys's Introduction

MagicKeys

This is a preference pane for Mac OS X 10.7+ that enables hardware media keys (prev, play, next) to be routed to 3rd-party sandboxed applications in a nice way, without unwanted side effects.

Although the prefpane was originally developed to complement G-Ear (see http://www.treasurebox.hu), it should work well with other applications, file a bug report (or even better, a pull request) if not. It can also launch a specified app on demand.

When the routing is enabled via the prefpane, a background is launched to do the actual work. It shouldn’t have any noticeable impact on performance, as it registers for Quartz “Event Taps”.

After uninstalling, a small (approx. 100bytes) file is left at ~/Library/Preferences/com.treasurebox.magickeys.plist for eventual future use. Apart from that, no permanent change is left on the system (the launch services entry which facilitates automatic start of the background process is invalidated by the system).

A screenshot is available at http://treasurebox-gear.s3.amazonaws.com/magickeys.png

License under a BSD-style 3-clause license, see MagicKeys/Credits.rtf.

Note: For compilation of the prefpane itself, Xcode 5.0.x needed, because of garbage collection. GC is not supported in later versions of Xcode. Lion however only supports prefPanes which are compiled with GC. If you don’t need compatibility with older OS X versions, you can always disable GC under build settings (see GCC_ENABLE_OBJC_GC)

magickeys's People

Contributors

zsszatmari avatar thezentrader avatar plaetzchen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.