zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.48k stars 2.56k forks source link

Combos with `slow-release` produce error during build #2304

Closed anuvyklack closed 1 month ago

anuvyklack commented 1 month ago

If I add combo with slow-release option in my config file, I always get error during build.

The example of combo I'm trying to add:

/ {
    combos {
        compatible = "zmk,combos";
        f7_combo {
            timeout-ms = <500>;
            bindings = <&kp F7>;
            key-positions = <LM3 LM2 LM1>;
            layers = <FUNC>;
            slow-release = <true>;
        };
    };
};
caksoylar commented 1 month ago

The syntax for boolean properties is slow-release;, see https://zmk.dev/docs/config#bool-1 for a reference.

caksoylar commented 1 month ago

Closing as user error, comment again if there is trouble.