summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkurtis-lew <kurtis.a.lew@gmail.com>2020-09-14 20:39:30 -0700
committerkurtis-lew <kurtis.a.lew@gmail.com>2020-09-14 20:39:30 -0700
commitf6932992d213a9e5ef061a13e7b8ef1137e7aa2f (patch)
tree15808cc90796c16743e24f4c00a49f9ef30be260 /docs
parent5383bdd4dfc85b7782c489341eff96d0abf7dc72 (diff)
Revert "Revert "Merge pull request #1 from zmkfirmware/main""
This reverts commit 5383bdd4dfc85b7782c489341eff96d0abf7dc72.
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/assets/pro-micro/pro-micro-pins-labelled.jpgbin0 -> 115573 bytes
-rw-r--r--docs/docs/behavior/hold-tap.md2
-rw-r--r--docs/docs/dev-boards-shields-keymaps.md2
-rw-r--r--docs/docs/dev-guide-new-shield.md4
4 files changed, 7 insertions, 1 deletions
diff --git a/docs/docs/assets/pro-micro/pro-micro-pins-labelled.jpg b/docs/docs/assets/pro-micro/pro-micro-pins-labelled.jpg
new file mode 100644
index 0000000..f72d407
--- /dev/null
+++ b/docs/docs/assets/pro-micro/pro-micro-pins-labelled.jpg
Binary files differ
diff --git a/docs/docs/behavior/hold-tap.md b/docs/docs/behavior/hold-tap.md
index fa68538..ab51022 100644
--- a/docs/docs/behavior/hold-tap.md
+++ b/docs/docs/behavior/hold-tap.md
@@ -59,4 +59,4 @@ If this config does not work for you, try the flavor "tap-preferred" and a short
If you want to use a tap-hold with a keycode from a different code page, you have to define another behavior with another "bindings" parameter.For example, if you want to use SHIFT and volume up, define the bindings like `bindings = <&kp>, <&cp>;`. Only single-argument behaviors are supported at the moment.
#### Note
-Astute readers may notice similarities between the possible behaviors in ZMK and other firmware, such as QMK. The hold-preferred flavor works similar to the `HOLD_ON_OTHER_KEY_PRESS` setting. The 'balanced' flavor is similar to the `PERMISSIVE_HOLD` setting, and the `tap-preferred` flavor is similar to `IGNORE_MOD_TAP_INTERRUPT`. \ No newline at end of file
+Astute readers may notice similarities between the possible behaviors in ZMK and other firmware, such as QMK. The hold-preferred flavor works similar to the `HOLD_ON_OTHER_KEY_PRESS` setting. The 'balanced' flavor is similar to the `PERMISSIVE_HOLD` setting, and the `tap-preferred` flavor is similar to `IGNORE_MOD_TAP_INTERRUPT`.
diff --git a/docs/docs/dev-boards-shields-keymaps.md b/docs/docs/dev-boards-shields-keymaps.md
index cfe5252..9ed5a32 100644
--- a/docs/docs/dev-boards-shields-keymaps.md
+++ b/docs/docs/dev-boards-shields-keymaps.md
@@ -35,6 +35,8 @@ in the `app/boards/${arch}/${board_name}` directory, e.g. `app/boards/arm/planck
## Pro Micro Compatible Keyboard
+![Labelled Pro Micro pins](assets/pro-micro/pro-micro-pins-labelled.jpg)
+
For keyboards that require a (usually Pro Micro compatible) add-on board to operate, the ZMK integration pieces are places
in the _shield_ definition for that keyboard, allowing users to
swap in different Pro Micro compatible boards (e.g. Proton-C, or nice!nano) and build a firmware the matches their actual
diff --git a/docs/docs/dev-guide-new-shield.md b/docs/docs/dev-guide-new-shield.md
index f270199..71af54e 100644
--- a/docs/docs/dev-guide-new-shield.md
+++ b/docs/docs/dev-guide-new-shield.md
@@ -67,6 +67,10 @@ endif
## Shield Overlay
+![Labelled Pro Micro pins](assets/pro-micro/pro-micro-pins-labelled.jpg)
+
+ZMK uses the green color coded pin names to generate devicetree node references. For example, to refer to the node `D0` in the devicetree files, use `&pro_micro_d 0` or to refer to `A1`, use `&pro_micro_a 1`.
+
The `<shield_name>.overlay` is the devicetree description of the keyboard shield that is merged with the primary board devicetree description before the build. For ZMK, this file at a minimum should include the [chosen]() node named `zmk,kscan` that references a KSCAN driver instance. For a simple 3x3 macropad matrix,
this might look something like: