logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

readme.md (6583B)


  1. # cKeys Handwire 101 Workshop
  2. ![](https://ckeys.org/images/proton-c-handwire-1.jpg)
  3. ## Slides
  4. Slides can be found at: https://ckeys.org/slides/handwire/
  5. ## Case Design
  6. The laser cutting file is ideal for Ponoko's P1 board size.
  7. ## Firmware
  8. If you want to reflash the pre-installed firmware, use the `.bin` file for Proton C and the `.hex` file for Pro Micro builds. Flash with the QMK Toolbox or via the command line.
  9. Building for Proton C: `make ckeys/handwire_101:default CONVERT_TO=proton_c`
  10. Building for Pro Micro: `make ckeys/handwire_101:default`
  11. Pre-built firmware files (and laser cutting case files) can be found here: https://github.com/c-keys/handwire
  12. ## Default Layout
  13. You can find the default layout in `qmk-handwire/keymaps/default/keymap.c`
  14. ### Layers
  15. When you plug in your keyboard, it will function as a numpad. You will remain in the `Base` numpad layer unless you hold down the top right corner key and select one of the keys in the left most column. In QMK, this is called a momentary switch and looks like `MO(LAYERS)` in the default `keymap.c`. You can read more about layer switching in the [QMK Documentation](https://beta.docs.qmk.fm/features/feature_advanced_keycodes#switching-and-toggling-layers).
  16. #### Base
  17. ```
  18. /* BASE (numpad)
  19. * ,-----------------------.
  20. * | 7 | 8 | 9 | / | <-- Hold for LAYERS
  21. * |-----+-----+-----+-----|
  22. * | 4 | 5 | 6 | * |
  23. * |-----+-----+-----+-----|
  24. * | 1 | 2 | 3 | - |
  25. * |-----+-----+-----+-----|
  26. * | 0 | . | = | + |
  27. * `---------------------- '
  28. */
  29. ```
  30. #### Layers
  31. ```
  32. /* LAYERS
  33. * ,---------------------------.
  34. * | MUSIC | | | X |
  35. * |---------+-----+-----+-----|
  36. * | MOUSE | | | |
  37. * |---------+-----+-----+-----|
  38. * |TERMINAL | | | |
  39. * |---------+-----+-----+-----|
  40. * | ADMIN | | | |
  41. * `---------------------------'
  42. */
  43. ```
  44. This is the layers layer. This is how you toggle other layers on and off. If you toggle on a layer, it is important that you re-toggle that layer offbefore switching to a new layer.
  45. #### Music
  46. ```
  47. /* MUSIC
  48. * ,-----------------------.
  49. * | X | | | X |
  50. * |-----+-----+-----+-----|
  51. * | | | |4EVER|
  52. * |-----+-----+-----+-----|
  53. * | OFF | | | |
  54. * |-----+-----+-----+-----|
  55. * | ON | | |MODES|
  56. * `---------------------- '
  57. */
  58. ```
  59. You can toggle the music mode on and off. You can also change the mode of music modes. Lastly, you can switch to the Music 4 Life mode but tapping the key marked `4EVER` above (see below). For more information on music mode, see the [QMK Documentation](https://beta.docs.qmk.fm/features/feature_audio).
  60. _NOTE: This layer will only make sounds if you install a speaker. At the time of this writing, you can get the Proton C specific piezo speaker for [$2.61 with free overnight shipping](https://www.arrow.com/en/products/ast1109mltrq/mallory-sonalert-products). You can solder it on by desoldering the row wires where they contact the cathode end of the diodes. Then flip over the Proton C and solder the piezo speaker in. Then re-solder the row wires and you should hear beeps and boops the next time you plug in your keyboard._
  61. #### Music 4 Life
  62. ```
  63. /* MUSIC_4_LIFE
  64. * ,-----------------------.
  65. * | ♫ | ♫ | ♫ | ♫ |
  66. * |-----+-----+-----+-----|
  67. * | ♫ | ♫ | ♫ | ♫ |
  68. * |-----+-----+-----+-----|
  69. * | ♫ | ♫ | ♫ | ♫ |
  70. * |-----+-----+-----+-----|
  71. * | ♫ | ♫ | ♫ | ♫ |
  72. * `---------------------- '
  73. */
  74. ```
  75. Music mode on every single key. However, you will need to unplug your keyboard in order to get out of this mode. The benefit of this is that you can use every single key as opposed to the few left over in the Music Mode layer. Try changing the chromatic mode before switching to this mode.
  76. #### Mouse
  77. ```
  78. /* MOUSE
  79. * ,-------------------------------------------------.
  80. * | BUTTON 5 | | SCROLL UP | X |
  81. * |-----------+-----------+------------+------------|
  82. * | X |LEFT CLICK | UP |RIGHT CLICK |
  83. * |-----------+-----------+------------+------------|
  84. * | BUTTON 4 | LEFT | DOWN | RIGHT |
  85. * |-----------+-----------+------------+------=-----|
  86. * | BUTTON 3 |SCROLL LEFT|SCROLL DOWN |SCROLL RIGHT|
  87. * `-------------------------------------------------'
  88. */
  89. ```
  90. Switch to this mode, force yourself through the steep transitionary period, and then you can ditch mice and trackpads forever!
  91. #### Terminal
  92. ```
  93. /* TERMINAL
  94. * ,---------------------------------------.
  95. * | |ABOUT| | X |
  96. * |------------+-----+----------+---------|
  97. * |TERMINAL OFF|PRINT| | |
  98. * |------------+-----+----------+---------|
  99. * | X |FLUSH| | |
  100. * |------------+-----+----------+---------|
  101. * |TERMINAL ON |HELP | | |
  102. * `--------=======------------------------'
  103. */
  104. ```
  105. This layer is not currently working but has been left as an example of how to write macros.
  106. #### Admin
  107. ```
  108. /* ADMIN
  109. * ,-----------------------------------------.
  110. * | QK_BOOT | | | X |
  111. * |------------+-----+-----------+----------|
  112. * |ABOUT CKEYS | | | |
  113. * |------------+-----+-----------+----------|
  114. * | | |CLICKY UP |CLICKY OFF|
  115. * |------------+-----+-----------+----------|
  116. * | X | |CLICKY DOWN|CLICKY ON |
  117. * `-----------------------------------------'
  118. */
  119. ```
  120. The most important key in this layer is the `QK_BOOT` switch. Use it to flash new firmware. It does the same thing as the hardware button on the Proton C. But since you soldered the Proton C with the reset button facing towards the keys, the only way to reach it is to de-solder wires. The reset switch solves this. Program a reset switch into all of your future keyboards.
  121. The `ABOUT CKEYS` is another example of using a macro. It will type out a few sentences about cKeys.
  122. The clicky buttons will only make a difference if you install a piezo speaker. If you install a speaker, then you can make your keyboard extra clicky sounding even if you did not install clicky switches.
  123. ![](https://ckeys.org/images/proton-c-handwire-2.jpg)
  124. ![](https://ckeys.org/images/proton-c-handwire-3.jpg)
  125. ![](https://ckeys.org/images/handwire-1.jpg)
  126. ![](https://ckeys.org/images/handwire-2.jpg)
  127. ![](https://ckeys.org/images/handwire-3.jpg)