diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-08-31 10:18:19 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-02 16:04:56 -0500 |
commit | b3f3362b506d628c53cc610801bc3109965659ea (patch) | |
tree | 847013359808f4e0bc7c0da17d6750eb998b143c /app/src/display/Kconfig | |
parent | d5ea4269757e4b6e1d4a4185a34f359210eac310 (diff) |
feat(display): Initial widget/status screen work.
* Battery and output status widgets
* Built in status screen combining them.
* Ability to define a custom status screen factory
function.
Diffstat (limited to 'app/src/display/Kconfig')
-rw-r--r-- | app/src/display/Kconfig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app/src/display/Kconfig b/app/src/display/Kconfig new file mode 100644 index 0000000..2e8cd2c --- /dev/null +++ b/app/src/display/Kconfig @@ -0,0 +1,32 @@ + +menuconfig ZMK_DISPLAY + bool "Enable ZMK Display" + default n + select DISPLAY + select LVGL + select LVGL_THEMES + select LVGL_THEME_MONO + +if ZMK_DISPLAY + +choice LVGL_TXT_ENC + default LVGL_TXT_ENC_UTF8 + +endchoice + +choice ZMK_DISPLAY_STATUS_SCREEN + prompt "Default status screen for displays" + default ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN + +config ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN + bool "Built in status screen" + select LVGL_OBJ_LABEL + +config ZMK_DISPLAY_STATUS_SCREEN_CUSTOM + bool "Custom status screen" + +endchoice + +rsource "widgets/Kconfig" + +endif |