fix(keymaps): Locate shared conf and overlay for split boards.

This commit is contained in:
Cem Aksoylar 2021-11-28 21:49:59 -08:00 committed by Pete Johanson
parent 0b44321613
commit b9a35c6ae7
1 changed files with 2 additions and 0 deletions

View File

@ -105,8 +105,10 @@ if (ZMK_CONFIG)
endif()
# TODO: Board revisions?
list(APPEND overlay_candidates "${ZMK_CONFIG}/${BOARD_DIR_NAME}.overlay")
list(APPEND overlay_candidates "${ZMK_CONFIG}/${BOARD}.overlay")
list(APPEND overlay_candidates "${ZMK_CONFIG}/default.overlay")
list(APPEND config_candidates "${ZMK_CONFIG}/${BOARD_DIR_NAME}.conf")
list(APPEND config_candidates "${ZMK_CONFIG}/${BOARD}.conf")
list(APPEND config_candidates "${ZMK_CONFIG}/default.conf")