Browse Source

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

xmkb
Cem Aksoylar 3 years ago committed by Pete Johanson
parent
commit
b9a35c6ae7
  1. 2
      app/cmake/zmk_config.cmake

2
app/cmake/zmk_config.cmake

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

Loading…
Cancel
Save