- Load the layout.json into the QMK Configurator and make needed changes
- Convert the layout.json into date for keymap.c:
docker run -it --rm \ -v $PWD/layout.json:/layout.json \ qmkfm/qmk_firmware \ qmk json2c /layout.json
- Paste the output of this command (excluding the #include) between the
Generated block
comment into keymap.c
Note: You can find other example keymaps in the qmk_firmware repo
- Build the left image:
docker run -it --rm \ -v $PWD:/qmk_firmware/keyboards/ergodox_infinity/keymaps/docker-mount \ -v $PWD/build/:/build \ qmkfm/qmk_firmware \ bash -c "make ergodox_infinity:docker-mount && cp /qmk_firmware/ergodox_infinity_docker-mount.bin /build/left.bin"
- Build the right image:
docker run -it --rm \ -v $PWD:/qmk_firmware/keyboards/ergodox_infinity/keymaps/docker-mount \ -v $PWD/build/:/build \ qmkfm/qmk_firmware \ bash -c "make ergodox_infinity:docker-mount MASTER=right && cp /qmk_firmware/ergodox_infinity_docker-mount.bin /build/right.bin"
- Use QMK Toolbox select which half of the keyboard to program and select the
atmega32u4
and select the bin files within the build directory.