pushrax / osxmmkeys

Easily handle media keys on OS X.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

osxmmkeys

osxmmkeys is a simple Python library for handling media keys on OS X. Key presses can be observed with no side effects, or have their default behaviours overridden entirely.

Installation

To install osxmmkeys with pip, use:

Usage

Simple example:

Threaded example:

Supported key names:

  • play_pause
  • next_track
  • prev_track
  • mute
  • volume_down
  • volume_up
  • backlight_down
  • backlight_up
  • kb_backlight_down
  • kb_backlight_up

About

Easily handle media keys on OS X.

License:MIT License


Languages

Language:Python 100.0%