zmk-viewer
zmk-viewer copied to clipboard
unexpected token "behaviors" (expected "keymap" "{" Keymap)
The parser seems to fail on behaviors definition.
./go/bin/zmk-viewer generate -f wip/sweep-config/config/splitkb_aurora_sweep.keymap cradio --unified
zmk-viewer master
2024-08-15T18:12:21+02:00 INF Fetching keyboard layout.
2024-08-15T18:12:21+02:00 INF Parsing keymap file.
2024-08-15T18:12:21+02:00 ERR error="/Users/xxxx/wip/sweep-config/config/splitkb_aurora_sweep.keymap:22:5: unexpected token \"behaviors\" (expected \"keymap\" \"{\" Keymap)"
2024-08-15T18:12:21+02:00 INF Image saved Path=cradio.png
My keymap is similar to this one but simplified to remove the home row macro: https://github.com/zmkfirmware/zmk/blob/main/app/boards/shields/cradio/cradio.keymap