Update reference_info_json.md (#18518)

* Update reference_info_json.md

* Update docs/reference_info_json.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update docs/reference_info_json.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update docs/reference_info_json.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update docs/reference_info_json.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update docs/reference_info_json.md

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
master
Markus Knutsson 2022-09-29 17:01:34 +02:00 committed by GitHub
parent 51f2d27321
commit 961de3c205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 1 deletions

View File

@ -91,6 +91,8 @@ Direct pins are when you connect one side of the switch to GND and the other sid
When specifying direct pins you need to arrange them in nested arrays. The outer array consists of rows, while the inner array uses text strings to identify the pins used in each row. You can use `null` to indicate an empty spot in the matrix. When specifying direct pins you need to arrange them in nested arrays. The outer array consists of rows, while the inner array uses text strings to identify the pins used in each row. You can use `null` to indicate an empty spot in the matrix.
Notice that when using direct pins, `diode_direction` is left undefined.
Example: Example:
```json ```json
@ -113,6 +115,14 @@ Example:
This section controls basic 2-pin LEDs, which typically pass through keyswitches and are soldered into the PCB, or are placed in PCB sockets. This section controls basic 2-pin LEDs, which typically pass through keyswitches and are soldered into the PCB, or are placed in PCB sockets.
### Backlight ### Backlight
Enable by setting
```json
"features": {
"backlight": true
}
```
* `breathing` * `breathing`
* Enable backlight breathing, if supported * Enable backlight breathing, if supported
* `breathing_period` * `breathing_period`
@ -177,8 +187,9 @@ The following items can be set. Not every value is required.
* Set to `true` to enable synchronization functionality between split halves * Set to `true` to enable synchronization functionality between split halves
* `split_count` * `split_count`
* For split keyboards, the number of LEDs on each side * For split keyboards, the number of LEDs on each side
* Example `[ 10 , 10 ]`
* `max_brightness` * `max_brightness`
* (0-255) What the maxmimum brightness (value) level is * What the maximum brightness (value) level is (0-255)
* `hue_steps` * `hue_steps`
* How many steps of adjustment to have for hue * How many steps of adjustment to have for hue
* `saturation_steps` * `saturation_steps`
@ -243,6 +254,14 @@ The device version is a BCD (binary coded decimal) value, in the format `MMmr`,
This section controls the basic [rotary encoder](feature_encoders.md) support. This section controls the basic [rotary encoder](feature_encoders.md) support.
Enable by setting
```json
"features": {
"encoder": true
}
```
The following items can be set. Not every value is required. The following items can be set. Not every value is required.
* `pin_a` * `pin_a`