da209c453e
* Horizontal/Vertical resolution max is now defaulted from the DTS chosen display automatically, so remove the duplication in our shield Kconfig.
39 lines
497 B
Text
39 lines
497 B
Text
# Copyright (c) 2022 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if SHIELD_KNOB_GOBLIN
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "Knob Goblin"
|
|
|
|
if ZMK_DISPLAY
|
|
|
|
config I2C
|
|
default y
|
|
|
|
config SSD1306
|
|
default y
|
|
|
|
config SSD1306_REVERSE_MODE
|
|
default y
|
|
|
|
endif # ZMK_DISPLAY
|
|
|
|
if LVGL
|
|
|
|
config LVGL_VDB_SIZE
|
|
default 64
|
|
|
|
config LVGL_DPI
|
|
default 148
|
|
|
|
config LVGL_BITS_PER_PIXEL
|
|
default 1
|
|
|
|
choice LVGL_COLOR_DEPTH
|
|
default LVGL_COLOR_DEPTH_1
|
|
endchoice
|
|
|
|
endif # LVGL
|
|
|
|
endif # SHIELD_KNOB_GOBLIN
|