feat(nice!view): Custom widgets

This commit is contained in:
Nick Winans
2023-07-18 16:43:30 -05:00
committed by Pete Johanson
parent f3110d1d1e
commit 18a2b76bf0
13 changed files with 986 additions and 19 deletions

View File

@@ -0,0 +1,13 @@
if(CONFIG_ZMK_DISPLAY AND CONFIG_NICE_VIEW_WIDGET_STATUS)
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
zephyr_library_sources(custom_status_screen.c)
zephyr_library_sources(widgets/bolt.c)
zephyr_library_sources(widgets/util.c)
if(NOT CONFIG_ZMK_SPLIT OR CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
zephyr_library_sources(widgets/status.c)
else()
zephyr_library_sources(widgets/art.c)
zephyr_library_sources(widgets/peripheral_status.c)
endif()
endif()