Skip to content

unexpected token "behaviors" (expected "keymap" "{" Keymap) #25

@bebsworthy

Description

@bebsworthy

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

splitkb_aurora_sweep.keymap.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions