Create a github account and log in to it. If you don't use your own github account and fork, you will not be able to make any changes to the keymap.
Open this URL in a browser and click the fork button: https://github.com/4pplet/zmk-config-4pplet
Open the editor in a bowser (https://nickcoutsos.github.io/keymap-editor/). You will now select your github fork you created in step 1 by clicking the "source" dropdown and change from "demo keyboard" to github.
You get a dialoge to give the editor permission access the forked repo on your github account.
If all went well in step 2, you should be able to select your forked repo in the dropdown and the cyber60 default layout will show.
This view will show all mappable switch positions. Not all will be able to be used at the same time. For example both backslash (above enter) and NUHS can be assigned but not used at the same time when using a normal ISO or ANSI layout. The switch with default mapping "C_PP" is the rotary encoder switch.
You can also create your own branch for making keymap changes by pressing the three dots and click Create new branch.
This is totally optional, but it makes it easier to track and keep your changes.
Adjust the firmware using the tool and press "Save changes".
The blue button will get a check-mark when the firmware is ready to download. When it's done, press the blue button to get to the download page.
The firmware is avalable (if the build went well and it's done) if you scroll down to "artifacts". Click on "firmware" to start the download of a zip with your modified firmware. Do note: by default the revision D firmware will be modified. Read at the end for how to edit code for revision B or C with this tool.
Unpack this zip-file and you'll have the built firmware for all the different revisions. You need to use the one built for the revision you edited.
To flash the built firmware, the PB needs to be put in reprogram/bootloader mode. With the default keymap, this can be done by pressing Fn + CapsLock. Alternatively, you can double click on the reset button on the PCB. When the keyboard enters this mode, key input will no longer work and a U2F removable device will show up on your PC.
To reflash the PCB, copy the generated .uf2 file from the unpacked .zip file into the removable device (or drag drop) and the PCB will be re-flashed with your modified changes.
This is not strictly needed for revision C, it can run the same code as revision D. The only differences are physical on the PCB due to layout changes and minor tweaks.
Remove the file "cyber60_rev_d.keymap" from zmk-config-4pplet/config/
-
For rev B: copy the file "cyber60_rev_b.keymap" from zmk-config-4pplet/config/cyber60_rev_c/ to zmk-config-4pplet/config/ to be able to configure revision B. Now you'll be able to follow the steps above.
-
For rev C: copy the file "cyber60_rev_c.keymap" from zmk-config-4pplet/config/cyber60_rev_c/ to zmk-config-4pplet/config/ to be able to configure revision C. Now you'll be able to follow the steps above.
The other firmware files built by github actions will be the default firmwares unless changes have been made in the repo by the user.
Your fork of 4pplets zmk-config-4pplet repo will not keep up to date automatically. To update the repo, you will need to do a git merge or rebase from the original repo.