skip to navigation
skip to content

Not Logged In

osxmmkeys 0.0.2

Easily handle media keys on OS X.

Latest Version: 0.0.4

osxmmkeys is a simple Python library for handling media keys on OS X. The default behaviour can be prevented and overridden entirely.

Supported keys are:

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

Usage:

import osxmmkeys

def play_pause():
    print("Play/pause key was pressed")

tap = osxmmkeys.Tap()
tap.on('play_pause', play_pause)
tap.run()
 
File Type Py Version Uploaded on Size
osxmmkeys-0.0.2.tar.gz (md5) Source 2014-04-13 2KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 92 downloads in the last week
  • 297 downloads in the last month