From f478438f01e081514f255ce67f7b75935ee7b51a Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Mon, 18 May 2020 13:42:41 -0400 Subject: Implement raise/lower for default keymap. * Properly allow includes for keymaps to allow defining custom keycodes, and then adding them to the keymap.overlay file. * Fix keymap.c loading after build refactor. * Fix for deactivating a layer working properly. * Fix default keymap to put transparent in proper spots to make raise/lower keycodes work as expected. * Add custom raise/lower keycode handling to default keymap. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9348b9c..3bc1b28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,9 @@ include(cmake/keymap.cmake) find_package(Zephyr) project(zmk) -if(EXISTS ${KEYMAP_DIR}/${KEYMAP}/keymap.c) +if(EXISTS ${KEYMAP_DIR}/keymap.c) message(STATUS "ADDING THE KEYMAP SOURCE") - target_sources(app PRIVATE ${KEYMAP_DIR}/${KEYMAP}/keymap.c) + target_sources(app PRIVATE ${KEYMAP_DIR}/keymap.c) endif() -- cgit v1.2.3