Hi there, I recently wrote a blog post on getting up and running with QMK with my GMMK Pro in order to support custom RGB support for custom Layers.
The relevant code for my usecase can be found in keyboards/gmmk/pro/rev1/ansi/keymaps/default
. (i tried making my own profile in viapro and rob, but ending up just overwriting the default).
You can clone this repo, but I recommend making your own fork off of the original. From there, overwrite the files in the path above with the code I have here.
Once you have that, you can then run qmk compile -kb gmmk/pro/rev1/ansi -km default
which will use the default profile to create new firmware.
This will create a new gmmk_pro_rev1_ansi_default.bin
firmware file in the root of the directory. You can then flash this custom firmware using QMK Toolbox.
If you need to make changes to your keymaps, you won't need to reflash. You should be able to use VIA to make changes moving forward.
If you want to change the logic of the RGB lighting, you will however need to make changes to the keyboards/gmmk/pro/rev1/ansi/keymaps/default/keymap.c
file.
This is a keyboard firmware based on the tmk_keyboard firmware with some useful features for Atmel AVR and ARM controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line.
The docs are powered by Docsify and hosted on GitHub. They are also viewable offline; see Previewing the Documentation for more details.
You can request changes by making a fork and opening a pull request, or by clicking the "Edit this page" link at the bottom of any page.
The project also includes community support for lots of other keyboards.
QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, Hasu. The OLKB product firmwares are maintained by Jack Humbert, the Ergodox EZ by ZSA Technology Labs, the Clueboard by Zach White, and the Atreus by Phil Hagelberg.
qmk.fm is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.