* Sofle Shield: Add underglow support --------- Co-authored-by: Kim Streich <kim@infusedinsight.com> Co-authored-by: Seth Milliken <seth_zmk@araxia.net>
55 lines
662 B
Text
55 lines
662 B
Text
# Copyright (c) 2020 Ryan Cross
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if SHIELD_SOFLE_LEFT
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "Sofle"
|
|
|
|
config ZMK_SPLIT_ROLE_CENTRAL
|
|
default y
|
|
|
|
endif
|
|
|
|
if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT
|
|
|
|
config ZMK_SPLIT
|
|
default y
|
|
|
|
if ZMK_DISPLAY
|
|
|
|
config I2C
|
|
default y
|
|
|
|
config SSD1306
|
|
default y
|
|
|
|
config SSD1306_REVERSE_MODE
|
|
default y
|
|
|
|
endif # ZMK_DISPLAY
|
|
|
|
if LVGL
|
|
|
|
config LV_Z_VDB_SIZE
|
|
default 64
|
|
|
|
config LV_Z_DPI
|
|
default 148
|
|
|
|
config LV_Z_BITS_PER_PIXEL
|
|
default 1
|
|
|
|
choice LV_COLOR_DEPTH
|
|
default LV_COLOR_DEPTH_1
|
|
endchoice
|
|
|
|
endif # LVGL
|
|
|
|
if ZMK_RGB_UNDERGLOW
|
|
|
|
config WS2812_STRIP
|
|
default y
|
|
endif
|
|
|
|
endif
|