Skip to content

Commit 16976db

Browse files
committed
docs: Fix columns names in kscan config
1 parent 6e2d30d commit 16976db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/docs/config/kscan.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@ Applies to : `compatible = "zmk,kscan-composite"`
216216

217217
Definition file: [zmk/app/dts/bindings/zmk,kscan-composite.yaml](https://github.com/zmkfirmware/zmk/blob/main/app/dts/bindings/zmk,kscan-composite.yaml)
218218

219-
| Property | Type | Description | Default |
220-
| -------- | ---- | --------------------------------------------- | ------- |
221-
| `rows` | int | The number of rows in the composite matrix | |
222-
| `cols` | int | The number of columns in the composite matrix | |
219+
| Property | Type | Description | Default |
220+
| --------- | ---- | --------------------------------------------- | ------- |
221+
| `rows` | int | The number of rows in the composite matrix | |
222+
| `columns` | int | The number of columns in the composite matrix | |
223223

224224
The `zmk,kscan-composite` node should have one child node per keyboard scan driver that should be composited. Each child node can have the following properties:
225225

@@ -331,7 +331,7 @@ Definition file: [zmk/app/dts/bindings/zmk,kscan-mock.yaml](https://github.com/z
331331
| `event-period` | int | Milliseconds between each generated event | |
332332
| `events` | array | List of key events to simulate | |
333333
| `rows` | int | The number of rows in the composite matrix | |
334-
| `cols` | int | The number of columns in the composite matrix | |
334+
| `columns` | int | The number of columns in the composite matrix | |
335335
| `exit-after` | bool | Exit the program after running all events | false |
336336

337337
The `events` array should be defined using the macros from [app/module/include/dt-bindings/zmk/kscan_mock.h](https://github.com/zmkfirmware/zmk/blob/main/app/module/include/dt-bindings/zmk/kscan_mock.h).

0 commit comments

Comments
 (0)