55 lines
651 B
Plaintext
55 lines
651 B
Plaintext
|
# Copyright (c) 2020 Ryan Cross
|
||
|
# SPDX-License-Identifier: MIT
|
||
|
|
||
|
if SHIELD_SOFLE_LEFT
|
||
|
|
||
|
config ZMK_KEYBOARD_NAME
|
||
|
default "Sofle Left"
|
||
|
endif
|
||
|
|
||
|
if SHIELD_SOFLE_RIGHT
|
||
|
|
||
|
config ZMK_KEYBOARD_NAME
|
||
|
default "Sofle Right"
|
||
|
endif
|
||
|
|
||
|
if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT
|
||
|
|
||
|
if ZMK_DISPLAY
|
||
|
|
||
|
config I2C
|
||
|
default y
|
||
|
|
||
|
config SSD1306
|
||
|
default y
|
||
|
|
||
|
config SSD1306_REVERSE_MODE
|
||
|
default y
|
||
|
|
||
|
endif # ZMK_DISPLAY
|
||
|
|
||
|
if LVGL
|
||
|
|
||
|
config LVGL_HOR_RES
|
||
|
default 128
|
||
|
|
||
|
config LVGL_VER_RES
|
||
|
default 32
|
||
|
|
||
|
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
|