summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-10-29 01:09:02 +0100
committerGitHub <noreply@github.com>2023-10-29 01:09:02 +0100
commit98530cad3ba8733d8a100e0bc5f3cf47339c4b3e (patch)
treec6c7306052b2707daddcbfd5c53e298e093f9b09 /docs
parent64ea1179b10794d6b97a968c21752417e8ac70c5 (diff)
Implement data driven dip switches (#22017)
* Add data driven dip switches * Autogen weak matrix_mask
Diffstat (limited to 'docs')
-rw-r--r--docs/reference_info_json.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/reference_info_json.md b/docs/reference_info_json.md
index 6b60bb20c4..1d9429b54d 100644
--- a/docs/reference_info_json.md
+++ b/docs/reference_info_json.md
@@ -201,6 +201,20 @@ Configures the [Combo](feature_combo.md) feature.
* The amount of time to recognize a combo in milliseconds.
* Default: `50` (50 ms)
+## DIP Switches :id=dip-switch
+
+Configures the [DIP Switches](feature_dip_switch.md) feature.
+
+* `dip_switch`
+ * `enabled`
+ * Enable the DIP Switches feature.
+ * Default: `false`
+ * `pins`
+ * A list of GPIO pins connected to the MCU.
+ * `matrix_grid`
+ * A list of matrix locations in the key matrix.
+ * Example: `[ [0,6], [1,6], [2,6] ]`
+
## EEPROM :id=eeprom
Configures the [EEPROM](eeprom_driver.md) driver.
@@ -622,6 +636,10 @@ Configures the [Split Keyboard](feature_split_keyboard.md) feature.
* `bootmagic`
* `matrix`
* See [Bootmagic](#bootmagic) config.
+ * `dip_switch`
+ * `right`
+ * `pins`
+ * See [DIP Switches](#dip-switch) config.
* `enabled`
* Enable the Split Keyboard feature.
* Default: `false`