feat(display): Add setting to invert display colors

Add CONFIG_ZMK_DISPLAY_INVERT Kconfig to invert colors
(black-on-white to white-on-black) on monochrome screens.
Currently applies only if CONFIG_LV_USE_THEME_MONO is selected,
which is the default unless user overrides it.
This commit is contained in:
Cem Aksoylar
2023-05-14 12:20:24 -07:00
committed by Pete Johanson
parent 7e29166c6c
commit 864394b40a
3 changed files with 12 additions and 1 deletions

View File

@@ -15,6 +15,13 @@ config ZMK_DISPLAY_BLANK_ON_IDLE
bool "Blank display on idle"
default y if SSD1306
if LV_USE_THEME_MONO
config ZMK_DISPLAY_INVERT
bool "Invert display colors"
endif
choice LV_TXT_ENC
default LV_TXT_ENC_UTF8