forked from forks/qmk_firmware
add example for c2json command (#23061)
This commit is contained in:
parent
69640365f8
commit
16557f9975
|
@ -322,6 +322,18 @@ Creates a keymap.json from a keymap.c.
|
||||||
qmk c2json -km KEYMAP -kb KEYBOARD [-q] [--no-cpp] [-o OUTPUT] filename
|
qmk c2json -km KEYMAP -kb KEYBOARD [-q] [--no-cpp] [-o OUTPUT] filename
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Examples**:
|
||||||
|
|
||||||
|
```
|
||||||
|
qmk c2json -km default -kb handwired/dactyl_promicro
|
||||||
|
```
|
||||||
|
|
||||||
|
or with filename:
|
||||||
|
|
||||||
|
```
|
||||||
|
qmk c2json keyboards/handwired/dactyl_promicro/keymaps/default/keymap.c
|
||||||
|
```
|
||||||
|
|
||||||
## `qmk lint`
|
## `qmk lint`
|
||||||
|
|
||||||
Checks over a keyboard and/or keymap and highlights common errors, problems, and anti-patterns.
|
Checks over a keyboard and/or keymap and highlights common errors, problems, and anti-patterns.
|
||||||
|
|
Loading…
Reference in a new issue