8000 GitHub - jenghis/mediakeys: Mac framework for monitoring and intercepting media key presses
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jenghis/mediakeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaKeys

Swift 3.0 Platforms macOS License Apache

The MediaKeys framework is a Mac framework for monitoring and intercepting media key presses.

General

Media keys are keys on an Apple keyboard that control media playback. These include the ⏪, ⏯, and ⏩ keys found on the function row. The framework can also handle other special keys such as the display brightness and Mission Control keys.

In addition to monitoring key presses, the MediaKeys framework can intercept them so that other applications are not notified of the key press. This would, for example, enable a music player application to start playing when the ⏯ key is pressed without iTunes also doing so.

Example

MediaKeys is used in the AirBass app.

Instructions

Drag MediaKeys.xcodeproj into the Project Navigator of your app's Xcode project. Then open your app target's "General" configuration page. In the "Embedded Binaries" section, click the + icon and select MediaKeys.framework.

Usage

To use the framework, create a MediaKeys instance and assign it a delegate to respond to media key presses.

License

This project is available under the Apache 2.0 license. See LICENSE for details.

< 5212 h2 class="mb-3 h4">About

Mac framework for monitoring and intercepting media key presses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0