Razer BlackWidow Macro Keys Enabler
Copyright (C) 2016 B.Walden
This program sends a init packet used by Razer proprietary drivers to initialize the 'Macro' keys on Razer BlackWidow keyboards.
License: MIT (LICENSE file should be included with source)
Dependencies: libusb
Razer BlackWidow Macro Keys v2.0
Sending Keyboard Macro Init Sequence for [1532:011b]
Sending data:
00 00 00 00 00 02 00 04
02 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
04 00
Transmitted: 90Arguments:
-s send init packet
-v show verbose output| ID | Device Name |
|---|---|
| 010D | Razer BlackWidow Ultimate |
| 010E | Razer BlackWidow |
| 011B | Razer BlackWidow 2013 |
| 0203 | Razer BlackWidow Chroma |
| 0221 | Razer BlackWidow Chroma V2 |
| 011A | Razer BlackWidow Ultimate 2014 |
If anyone wants me to add any more please open a issue so I can add them in.
improvements:
- new libusb handle
- array of keyboard device IDs
- new cli feedback
- support for more keyboard devices
BlackWidow Keyboards do not have any onboard memory for macros Razer use software for macro functionality in windows.
You can however use xmacro in linux
You can also use xmodmap or your WM to allocate functions to the macro key keycodes.
To find all connected Razer devices you can use: lsusb -d 1532:
I have added a sample udev rule to udev/99-bwidow.rules which can be placed into /usr/lib/udev/rules.d/99-bwidow.rules
To install this you can do make cpudev
To remove you can do make rmudev
M1 = 191
M2 = 192
M3 = 193
M4 = 194
M5 = 195
Device IDs taken from Razer BlackWidow drivers
Razer010D.DeviceDesc = "Razer BlackWidow Ultimate"
Razer010E.DeviceDesc = "Razer BlackWidow"
Razer011B.DeviceDesc = "Razer BlackWidow 2013"
%Razer010D.DeviceDesc%=Razer, HID\Vid_1532&Pid_010D&MI_00
%Razer010E.DeviceDesc%=Razer, HID\Vid_1532&Pid_010E&MI_00
%Razer011B.DeviceDesc%=Razer, HID\Vid_1532&Pid_011B&MI_00
Website: https://equk.co.uk
Mastodon: @equilibriumuk@hachyderm.io
Bluesky: @equilibriumuk.bsky.social
MIT License