You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-12Lines changed: 37 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,17 @@ Arguments:
42
42
<keyboard-name> Keyboard name to fetch layout.
43
43
44
44
Flags:
45
-
-h, --help Show context-sensitive help.
46
-
-D, --debug Enable debug mode
47
-
--version Print version information and quit
48
-
49
-
-f, --file=STRING ZMK .keymap file
50
-
-t, --transparent Use a transparent background.
51
-
-o, --output="." Output directory.
45
+
-h, --help Show context-sensitive help.
46
+
-D, --debug Enable debug mode
47
+
--version Print version information and quit
48
+
49
+
-f, --file=STRING ZMK .keymap file
50
+
-l, --layout-file=STRING info.json file
51
+
-t, --transparent Use a transparent background.
52
+
-r, --raw Draw the ZMK codes instead of the key labels.
53
+
-s, --single Generate a single image.
54
+
-u, --unified Generate a single image with all the layers.
55
+
-o, --output="." Output directory.
52
56
```
53
57
54
58
Keyboard name should be the same as in https://config.qmk.fm.
@@ -58,16 +62,37 @@ zmk-viewer generate cradio
58
62
```
59
63
Will output this image:
60
64
61
-

65
+

62
66
63
67
You can pass a .keymap file ([this one for reference](https://github.com/zmkfirmware/zmk/blob/main/app/boards/shields/cradio/cradio.keymap)) to generate the layout with bindings
0 commit comments