Skip to content

Commit

Permalink
Add layer name override
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarr21 committed Dec 18, 2022
1 parent 22501b2 commit 70c75eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@
}; \
};

#define ZMK_LAYER_LABELED(name, label_name, layout) \
/ { \
keymap { \
compatible = "zmk,keymap"; \
name { \
label = label_name; \
bindings = <layout>; \
}; \
}; \
};

/* ZMK_COMBOS */

#define ALL 0xff
Expand Down

0 comments on commit 70c75eb

Please sign in to comment.