feat(nice!view): Custom widgets
This commit is contained in:
parent
f3110d1d1e
commit
18a2b76bf0
13 changed files with 986 additions and 19 deletions
13
app/boards/shields/nice_view/CMakeLists.txt
Normal file
13
app/boards/shields/nice_view/CMakeLists.txt
Normal 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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue