2023-04-02 13:29:20 +00:00
|
|
|
#+TITLE: Custom QMK Colemak-mod-dh firmware for Corne split keyboard
|
|
|
|
* Description of keyboard layers
|
|
|
|
** Layer 0 - Colemak layer with home row modifiers for ALT
|
2023-04-02 13:33:07 +00:00
|
|
|
[[./images/layer0.png]]
|
2023-04-02 13:29:20 +00:00
|
|
|
** Layer 1 - Similar Colemak layer but without the modifiers
|
|
|
|
(useful when the application uses the keys of the modifiers as hold keys)
|
2023-04-02 13:33:07 +00:00
|
|
|
[[./images/layer1.png]]
|
2023-04-02 13:29:20 +00:00
|
|
|
** Layer 2 - Symbol and cursors layer
|
|
|
|
This layer also have the „super-alt-tab” where the tab key is located on the Colemak layer.
|
2023-04-02 13:33:07 +00:00
|
|
|
[[./images/layer2.png]]
|
2023-04-02 13:29:20 +00:00
|
|
|
** Layer 3 - Numbers layer
|
2023-04-02 13:33:07 +00:00
|
|
|
[[./images/layer3.png]]
|
2023-04-02 13:29:20 +00:00
|
|
|
** Layer 4 - Functional & misc keys
|
2023-04-02 13:33:07 +00:00
|
|
|
[[./images/layer4.png]]
|
2023-04-02 13:29:20 +00:00
|
|
|
* How to compile and flash the firmware
|
2023-04-02 11:20:46 +00:00
|
|
|
** Clone the repository to =qmk_firmware/crkbd/keymaps= and name it for example =adam_colemak=.
|
2023-04-02 13:30:58 +00:00
|
|
|
|
2023-04-02 11:20:46 +00:00
|
|
|
#+begin_src shell
|
|
|
|
cd qmk_firmware/
|
|
|
|
cd keyboards/crkbd/keymaps/
|
|
|
|
git clone https://code.bsdgeek.org/adam/qmk-corne-colemak-dh-mod adam_colemak
|
2023-04-02 13:30:58 +00:00
|
|
|
#+end_src
|
2023-02-28 19:52:29 +00:00
|
|
|
|
2023-04-02 11:20:46 +00:00
|
|
|
** Set the keymap as default and compile from its directory
|
|
|
|
(hard to say but had to compile from inside the directory as setting it as default somehow didn't work)
|
2023-04-02 13:30:58 +00:00
|
|
|
|
2023-02-28 19:52:29 +00:00
|
|
|
#+begin_src shell
|
2023-04-02 11:20:46 +00:00
|
|
|
qmk config user.keymap=adam-colemak
|
2023-02-28 19:52:29 +00:00
|
|
|
cd qmk_firmware/
|
|
|
|
cd keyboards/crkbd/keymaps/adam-colemak/
|
|
|
|
|
2023-04-02 11:20:46 +00:00
|
|
|
## only used to regenerate the keymap if you would customize using online keymap editor.
|
|
|
|
# qmk json2c crkbd_rev1_layout_split_3x6_3_mine.json -o keymap-json.c
|
|
|
|
qmk clean
|
|
|
|
qmk compile -kb crkbd/r2g
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
** Flash the firmware
|
|
|
|
(two times the same command chained for both of the sides of the keyboard)
|
|
|
|
#+begin_src shell
|
2023-02-28 19:52:29 +00:00
|
|
|
qmk flash -kb crkbd/r2g ; qmk flash -kb crkbd/r2g
|
|
|
|
#+end_src
|
2024-03-03 12:56:54 +00:00
|
|
|
|
|
|
|
** Troubleshoting
|
|
|
|
Had to update my Windows usb driver using [[https://docs.qmk.fm/#/driver_installation_zadig]] guide
|
|
|
|
to have qmk recognise my device when switching to bootloader mode via double clicking the reset button on the keyboard.
|