Skip to content

Commit

Permalink
Document Kconfig options
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Dec 15, 2024
1 parent 6d30405 commit 6f0b8be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config ZMK_LEADER_MAX_KEYS_PER_SEQUENCE
default 5

config ZMK_LEADER_MAX_SEQUENCES
int "Maximum number of leader sequences"
int "Maximum number of leader sequences per instance"
default 32

#Leader options
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ ignored when evaluating sequences. For instance, if
`ignore-keys = <LSHFT RSHFT>`, "shift" is passed through without triggering or
terminating sequences.

### `Kconfig` options

- `CONFIG_ZMK_LEADER_MAX_KEYS_PER_SEQUENCE`: Maximum number of keys in a
sequence. Default is 5.
- `CONFIG_ZMK_LEADER_MAX_SEQUENCES`: Maximum number of sequences per leader key
instance. Default is 32.

## References

- The [legacy](https://github.com/urob/zmk-leader-key/tree/legacy) branch ports
Expand Down

0 comments on commit 6f0b8be

Please sign in to comment.