2023-07-18 14:43:30 -07:00
|
|
|
# Copyright (c) 2023 The ZMK Contributors
|
2022-09-29 18:11:26 -07:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
if SHIELD_NICE_VIEW
|
|
|
|
|
2023-07-18 14:43:30 -07:00
|
|
|
config LV_Z_VDB_SIZE
|
|
|
|
default 100
|
2022-09-29 18:11:26 -07:00
|
|
|
|
2023-06-23 00:17:00 -07:00
|
|
|
config LV_DPI_DEF
|
2023-07-18 14:43:30 -07:00
|
|
|
default 161
|
2022-09-29 18:11:26 -07:00
|
|
|
|
2023-01-17 20:33:42 -08:00
|
|
|
config LV_Z_BITS_PER_PIXEL
|
2023-04-22 21:25:56 -07:00
|
|
|
default 1
|
2022-10-30 17:50:21 -07:00
|
|
|
|
2023-01-17 20:33:42 -08:00
|
|
|
choice LV_COLOR_DEPTH
|
2023-04-22 21:25:56 -07:00
|
|
|
default LV_COLOR_DEPTH_1
|
2022-10-30 17:50:21 -07:00
|
|
|
endchoice
|
|
|
|
|
2023-07-18 14:43:30 -07:00
|
|
|
choice ZMK_DISPLAY_WORK_QUEUE
|
|
|
|
default ZMK_DISPLAY_WORK_QUEUE_DEDICATED
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice ZMK_DISPLAY_STATUS_SCREEN
|
|
|
|
default ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
|
|
|
|
endchoice
|
|
|
|
|
2023-11-15 16:06:21 -08:00
|
|
|
config LV_Z_MEM_POOL_SIZE
|
|
|
|
default 4096 if ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
|
|
|
|
|
2023-07-18 14:43:30 -07:00
|
|
|
config ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
|
|
|
|
imply NICE_VIEW_WIDGET_STATUS
|
|
|
|
|
|
|
|
config NICE_VIEW_WIDGET_STATUS
|
|
|
|
bool "Custom nice!view status widget"
|
|
|
|
select LV_FONT_MONTSERRAT_16
|
|
|
|
select LV_USE_IMG
|
|
|
|
select LV_USE_CANVAS
|
|
|
|
|
|
|
|
config NICE_VIEW_WIDGET_INVERTED
|
|
|
|
bool "Invert custom status widget colors"
|
|
|
|
|
|
|
|
if !ZMK_SPLIT || ZMK_SPLIT_ROLE_CENTRAL
|
|
|
|
|
|
|
|
config NICE_VIEW_WIDGET_STATUS
|
|
|
|
select LV_FONT_MONTSERRAT_18
|
|
|
|
select LV_FONT_MONTSERRAT_14
|
|
|
|
select LV_FONT_UNSCII_8
|
|
|
|
select ZMK_WPM
|
|
|
|
|
|
|
|
endif # !ZMK_SPLIT || ZMK_SPLIT_ROLE_CENTRAL
|
|
|
|
|
|
|
|
config ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN
|
|
|
|
select LV_FONT_MONTSERRAT_26
|
2022-09-29 18:11:26 -07:00
|
|
|
|
2023-07-18 14:43:30 -07:00
|
|
|
endif # SHIELD_NICE_VIEW
|