commit cd4f9fb9e7efe5760e1b75d4647574ace38c8655 Author: Kim Streich <kim@infusedinsight.com> Date: Sat Mar 26 11:53:24 2022 +0400 Sofle Shield: Added adjust layer to default keymap commit 2a2dad0041463819489cc054a9210c459f0dee30 Author: Kim Streich <kim@infusedinsight.com> Date: Sat Mar 26 12:08:18 2022 +0400 Sofle Shield: Add underglow support commit 5ff17c56197293b71dfe304aaad946540a224963 Author: Kim Streich <kim@infusedinsight.com> Date: Sat Mar 26 11:34:34 2022 +0400 Sofle Shield: Increase default encoder resolution
61 lines
712 B
Text
61 lines
712 B
Text
# Copyright (c) 2020 Ryan Cross
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if SHIELD_SOFLE_LEFT
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "Sofle"
|
|
|
|
config ZMK_SPLIT_BLE_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 LVGL_HOR_RES_MAX
|
|
default 128
|
|
|
|
config LVGL_VER_RES_MAX
|
|
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
|
|
|
|
if ZMK_RGB_UNDERGLOW
|
|
|
|
config WS2812_STRIP
|
|
default y
|
|
endif
|
|
|
|
endif
|