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.
This commit is contained in:
Pete Johanson
2020-08-31 10:18:19 -04:00
parent d5ea426975
commit b3f3362b50
18 changed files with 362 additions and 24 deletions

View File

@@ -0,0 +1,18 @@
menu "ZMK Display Widgets"
config ZMK_WIDGET_BATTERY_STATUS
bool "Widget for battery charge information, using small icons"
depends on BT
default y if BT
select LVGL_OBJ_LABEL
select LVGL_BUILD_IN_FONT_ROBOTO_16
config ZMK_WIDGET_OUTPUT_STATUS
bool "Widget for keyboard output status icons"
depends on BT
default y if BT
select LVGL_OBJ_LABEL
select LVGL_BUILD_IN_FONT_ROBOTO_16
endmenu