create a venv using python3 -m venv venv
p -m pip install qmk && mqk setupthis will create a new folder in ~/qmt_firmware. this folder contains different keyboars and default mappings. for my sofle keyboard, go to ~/qmt_formware/keyboards/sofle/keymaps. the rgb_default folder contains the default key mapping for a sofle keyboard.
just:
cd ~/qmk_firmware/keyboards/sofle/keymaps/by doing ls you will get a list of <default_configs>. choose one and use it as a template:
mkdir my_keyboard && cp -r <default_config>/* my_keyboardand start modifying your own keymap.c file. then compile and flash
go to the qmk firmware folder:
cd ~/qmk_firmware/keyboards/sofle/keymaps/and create a symbolic link to my_keyboard folder in this repo
ln -vs ~/Documents/qmk/my_keyboard ./my_keyboardif you clone in a different folder, this might change a bit:
ln -vs ~<path_to_this_repo>/my_keyboard ./my_keyboardnote: if you python -m pip install qmk be sure to activate the venv before running the following instructions:
first compile the keymap
qmk compile -kb sofle -km my_keyboardthen, using the usb-c cable connect only one side of the keyboard and flash it (unplug the cable connecting both sides of the keyboard):
qmk flash -kb sofle -km my_keyboardat some point, the terminal will ask to please press the keyboard reset button. do that and continue until the process is done.
then disconnect the usb-c cable from one side, and connect it to the other side. flash it again:
qmk flash -kb sofle -km my_keyboardnow you can plug the cable connecting both keyboard's parts and use your keyboard. you can check the keyboard mapping using QMK configurator test
- for more info check QMK tutorial
