[Wayland-bugs] [Bug 91983] Support for extra Macro buttons on Razer keyboard
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 11 12:51:41 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91983
Bug ID: 91983
Summary: Support for extra Macro buttons on Razer keyboard
Product: Wayland
Version: 1.5.0
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: bcdonadio at gmail.com
Created attachment 118220
--> https://bugs.freedesktop.org/attachment.cgi?id=118220&action=edit
Patched python razer keyboard macro keys activator script
In order to enable the extra Macro buttons, for some unknown proprietary
reason, the Razer keyboards require some USB magic messages to be sent in order
for them to work (otherwise pressing the macro keys send no keycode to the
system).
Sergey from superuser.com already developed the solution in python, but it
would be nice if this solution were already baked in libinput, so the keys can
work out-of-the-box.
The original Sergey's code can be found at the following link:
http://superuser.com/a/474595/8647
I'm attaching also a modified version (that I found on the internet some time
ago, god knows where...) which also works with the newer Razer keyboards, like
my Razer BlackWidow 2014 RZ03-0039 (USB VID:PID 1532:011b).
Furthermore, it would also be needed some key remapping, since this keyboard
have the M[1-5] macro keys, but the M1 key is recognized as the "Tools" key
(the M[2-5] are recognized as Launch[5-8]). This breaks some assumptions with
the Gnome shortcuts, rendering the M1 key unusable.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150911/424b633e/attachment.html>
More information about the wayland-bugs
mailing list