chmod222 / libcmmk

An unofficial LED control API for Coolermaster Masterkey keyboards
GNU Lesser General Public License v3.0
100 stars 24 forks source link

Cooler Master Pro M (US) profile #17

Open gomera opened 5 years ago

gomera commented 5 years ago

I am an owner of a M (US) RGB keyboard, just let me know how can I help you in order to support a M model. Never used Wireshark or usbmon, but I can learn if you tell me what to do.

RedFantom commented 5 years ago

In the hope that @chmod222 won't mind me saying this: I am also interested in the ANSI M keyboard layout matrix for my libmk, and I have a tool that can record it easily so that it may also be used in libcmmk, without having to use Wireshark or usbmon. It works by sending packages with all the possible key offsets and then the row and column number defined in the LED Table. This is how I mapped my own keyboard in the first place. It will then spew out a keymap file that can be shared to allow it to be added to the code files.

It can be executed by compiling libmk and the tools with cmake as specified in the readme and then running the record executable as root (my library does not currently include a udev rule to allow device access as non-root).

Again, this is intended as collaboration, and I waited three days, but now I felt it was appropriate to ask before you lose interest.

chmod222 commented 5 years ago

@RedFantom Absolutely no problem, open source is not a competetion. I have been a bit preoccupied with life in recent weeks and couldn't keep up, so sadly the repository has fallen a bit into disorganisation.

gomera commented 5 years ago

ok guys, will do it during the weekend and provide the info