FG
💻 Software

Getting macro keys from a Razer BlackWidow to work on Linux

Fresh5 days ago
Mar 15, 202640703 views
Confidence Score1%
1%

Problem

I picked up a Razer BlackWidow Ultimate that has additional keys meant for macros that are set using a tool that's installed on Windows. I'm assuming that these aren't some fancypants joojoo keys and should emit scancodes like any other keys. Firstly, is there a standard way to check these scancodes in Linux? Secondly, how do I set these keys to do things in command line and X-based Linux setups? My current Linux install is Xubuntu 10.10, but I'll be switching to Kubuntu once I have a few things fixed up. Ideally the answer should be generic and system-wide. Things I have tried so far: from the built in kbd package (in a seperate vt) - macro keys not detected - macro keys not detected contents of /dev/input/by-path as well as lsusb and evdev output This ahk script's output suggests the M keys are not outputting standard scancodes detectable by windows Things I need to try snoopy pro + reverse engineering (oh dear) Wireshark - preliminary futzing around seems to indicate no scancodes e…

Error Output

showkeys

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Getting macro keys from a Razer BlackWidow to work on Linux

Low Risk

M1-M5 are in fact regular keys - they just need to be specifically enabled before pressing them will generate a scancode. tux_mark_5 developed a small Haskell program which sends the correct SET_REPORT message to Razer keyboards to enable these keys, and ex-parrot ported the same code to Python. On Arch Linux systems the Python port has been packaged and is available from https://aur.archlinux.org/packages.php?ID=60518. On Debian or Ubuntu systems setting up the Python port of the code is relat…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment