Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

License

blackwidow_macro

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

Usage

Razer BlackWidow Macro Keys v1.2
Razer BlackWidow 2013 Device Found
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: 90

Notes

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:

Extending

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

Keycode Reference

M1 = 191
M2 = 192
M3 = 193
M4 = 194
M5 = 195

device id's included

010D = "Razer BlackWidow Ultimate"
010E = "Razer BlackWidow"
011B = "Razer BlackWidow 2013"

If anyone wants me to add any more please tell me so I can add them in.

todo

  • extract all known device id's of blackwidow keyboards from the Razer proprietary drivers
  • add more blackwidow device id's

related references

razer windows drivers

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

About

🐧 enable macro keys on Razer BlackWidow keyboards

Topics

Resources

License

Releases

No releases published

Packages

No packages published