You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rootkiwi 341268badb Add support for BlackWidow Ultimate 2012 2 years ago
.gitignore first commit 7 years ago
LICENSE first commit 7 years ago Add support for BlackWidow Ultimate 2012 2 years ago Add support for BlackWidow Ultimate 2012 2 years ago
razer_blackwidow.rules Improve device detection 6 years ago

BlackWidow control

Python 3 script to enable macro keys of BlackWidow keyboard under GNU/Linux

It just enables the macro keys which can then be configured as hotkeys in your desktop environment. However, it does not enable the ability to record macros and to switch between different configurations like the Windows driver does.

For recording macros under X11 one might use xmacro or xdotool.

Supported devices

The script is known to work with the following BlackWidow editions:

  • regular edition (the ceapest one which has no background light)
  • the regular 2013 edition
  • BlackWidow Ultimate Stealth 2014
  • BlackWidow Ultimate 2012

If you can confirm that those or other devices work or don't work, let me now by editing this file.


  • The script does not work with the 2016 editions (yet).
  • The script has been tested using the firmware update from Razer Synapse 2.0. Hence the script might not work when an older firmware version is used.


  • Pyusb is required to run the script.
  • Use -h for a list of available options.
  • To invoke the script automatically when the keyboard is plugged-in an udev rule can be added (see razer_blackwidow.rules).
  • The repository PKGBUILDs contains files for building an Arch Linux package.