GMMK Pro firmware custom key mapping with knob volume
This is my custom GMMK Pro configuration with the knob volume enabled.
VIA software is not enabled in this version.
Install QMK tools and configure everything
Clone the QMK firmware repo:
git clone https://github.com/qmk/qmk_firmware.git
Following the official QMK guide to setup everything: https://docs.qmk.fm/#/newbs_getting_started
At the end of the guide you should be able to run the following command and be able build everything successfully:
qmk compile -kb gmmk/pro/ansi -km default
Add and build the custom keymap
Copy custom keymap directory into QMK firmware repo:
cd ~/qmk-gmmk-pro-key-mapping
cp -r default-with-knob ~/qmk_firmware/keyboards/gmmk/pro/ansi/keymaps/
Set the default keyboard and keymap to the custom keymap:
qmk config user.keyboard=gmmk/pro/ansi
qmk config user.keymap=default-with-knob
Compile the GMMK Pro firmware with the custom keymap:
cd ~/qmk_firmware
qmk compile
Once the firmware is built, you can flash the file gmmk_pro_ansi_default-with-knob.bin
using QMK Toolbox.
To enter QMK flash mode (DFU) you need to press the keys FN+\
.
Extra useful commands
Convert C to JSON keymap:
qmk c2json -kb gmmk/pro/ansi -km default-with-knob default-with-knob/keymap.c