Skip to content

Commit

Permalink
doc: add col2row/row2col doc
Browse files Browse the repository at this point in the history
Signed-off-by: Haobo Gu <[email protected]>
  • Loading branch information
HaoboGu committed Dec 13, 2024
1 parent 3bd2c09 commit eca629b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/keyboard_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ If your keys are directly connected to the microcontroller pins, set `matrix_typ

If your pin requires a pull-up resistor and the button press pulls the pin low, set `direct_pin_low_active` to true. Conversely, set it to false if your pin requires a pull-down resistor and the button press pulls the pin high.

Currently, col2row is used as the default matrix type. If you want to use row2col matrix, you should edit your `Cargo.toml`, disable the default feature as the following:

```toml
# Cargo.toml
rmk = { version = "0.4", default-features = false, features = ["nrf52840_ble"] }
```

Here is an example for rp2040.
```toml
matrix_type = "direct_pin"
Expand Down

0 comments on commit eca629b

Please sign in to comment.