- Configure keys in qmk configurator.
- Export to .json
- Update qmk. Put file in qmk_framework dir. Convert it to C file.
git pull
qmk setup
qmk json2c -o my_keymap_j2c.c ./ktec_ergodone_layout_ergodox_pretty_80_mine_qwerty.json
- Cut and paste new keys from
my_keymap_j2c.c
to ./keyboards/ktec/ergodone/keymaps/my_keymap/keymap.c - Compile it
qmk compile -kb ktec/ergodone -km my_keymap
- Get tkg-toolkit. Go to tkg-toolkit/linux
- Press 2 keys on left part of keyboard (in upper row two on far right) with at the same time connect cable to make keyboard ready to update firmware.
- Update firmware with
sudo ./bin/hid_bootloader_cli -w -mmcu=atmega32u4 ../firmware.hex
qmk config user.keyboard=ktec/ergodone
qmk new-keymap
qmk config compile.keymap=engram
qmk import-keymap ergodone_80.json
qmk compile -kb ktec/ergodone -km ktec_ergodone_engram
qmk compile -c ergodone_80.json
qmk compile -c -j 0 ergodone_80.json
sudo ./bin/hid_bootloader_cli -w -mmcu=atmega32u4 ../ktec_ergodone_ktec_ergodone_engram.hex