Currently the script tries to detach the kernel driver even if it is not active; this causes the script to crash. This fixes it to only try to detach the kernel driver if it is actually active. Tested on a real Razer Blackwidow 2014.
|2 years ago|
|.gitignore||6 years ago|
|LICENSE||6 years ago|
|README.md||3 years ago|
|blackwidowcontrol.py||2 years ago|
|razer_blackwidow.rules||5 years ago|
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.
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
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.
-hfor a list of available options.
- To invoke the script automatically when the keyboard is plugged-in an udev
rule can be added (see
- The repository PKGBUILDs contains files for building an Arch Linux package.