Im having trouble building with timess homerow mods i cant understand whats wrong.
my keymap: https://github.com/R3ISilva/zmk-config/blob/master/config/corne.keymap
my behaviors.dtsi: https://github.com/R3ISilva/zmk-config/blob/master/config/includes/behaviours.dtsi
my build error: https://github.com/R3ISilva/zmk-config/actions/runs/11841048840
#Trouble with timeless homerow mods
1 messages · Page 1 of 1 (latest)
Two separate problems:
You are missing a }; in the keymap. There are 3 { but only 2 }.
If you want to define behaviors in another file, you need to #include it in the keymap. Like
#include "includes/behaviours.dtsi"
I need to start using syntax highlighting i didn't even notice i was missing the bracket
about the second point
i had it like that but i was getting this error
oh i misspelled
Just like in C/C++, #include <name> is searching in compiler defined "system library", and #include "name" is relative to current file.
the default config has already this:
#include <behaviors.dtsi>
but there is no such file by default? is it pointing to nothing or is it pointing to a file in the zmk repo?
That file is in ZMK.
thats what i tought but i couldn't find it, but glad to know the explanation
https://github.com/R3ISilva/zmk-config/actions/runs/11841248456/job/32997043876#step:11:55
even with the right path im getting the same error
In file included from <command-line>:
/tmp/zmk-config/config/corne.keymap:2:10: fatal error: includes/behaviors.dtsi: No such file or directory
2 | #include <includes/behaviors.dtsi>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Use #include "name" to reference another file by relative path, not #include <name>
oh
that wasn't what i intreperted from this