2020-10-10 05:48:06 +11:00
|
|
|
# Copyright (c) 2020 The ZMK Contributors
|
|
|
|
# SPDX-License-Identifier: MIT
|
2020-10-08 14:40:04 +11:00
|
|
|
|
|
|
|
if SHIELD_MICRODOX_LEFT
|
|
|
|
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
|
|
default "Microdox Left"
|
|
|
|
|
2020-12-13 15:13:49 +11:00
|
|
|
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
|
|
|
default y
|
|
|
|
|
2020-10-08 14:40:04 +11:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
if SHIELD_MICRODOX_RIGHT
|
|
|
|
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
|
|
default "Microdox Right"
|
|
|
|
|
2020-12-17 16:19:03 +11:00
|
|
|
config USB
|
|
|
|
default y
|
|
|
|
|
2020-10-08 14:40:04 +11:00
|
|
|
endif
|
|
|
|
|
|
|
|
if SHIELD_MICRODOX_LEFT || SHIELD_MICRODOX_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
|
|
|
|
|
2020-11-19 03:37:59 +11:00
|
|
|
config LVGL_HOR_RES_MAX
|
2020-10-08 14:40:04 +11:00
|
|
|
default 128
|
|
|
|
|
2020-11-19 03:38:59 +11:00
|
|
|
config LVGL_VER_RES_MAX
|
2020-10-08 14:40:04 +11:00
|
|
|
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
|