2023-07-17 14:26:27 -07:00
|
|
|
# Copyright (c) 2023 The ZMK Contributors
|
2022-03-08 21:30:30 -08:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2023-07-17 14:26:27 -07:00
|
|
|
if SHIELD_LEELOO_REV2_LEFT
|
|
|
|
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
|
|
default "Leeloo v2"
|
|
|
|
|
|
|
|
config ZMK_SPLIT_ROLE_CENTRAL
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2022-03-08 21:30:30 -08:00
|
|
|
if SHIELD_LEELOO_LEFT
|
|
|
|
|
|
|
|
config ZMK_KEYBOARD_NAME
|
2023-04-22 21:25:56 -07:00
|
|
|
default "Leeloo"
|
2022-03-08 21:30:30 -08:00
|
|
|
|
2022-05-22 20:12:54 -07:00
|
|
|
config ZMK_SPLIT_ROLE_CENTRAL
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2023-04-22 21:16:36 -07:00
|
|
|
|
2022-03-08 21:30:30 -08:00
|
|
|
endif
|
|
|
|
|
2023-07-17 14:26:27 -07:00
|
|
|
if SHIELD_LEELOO
|
2022-03-08 21:30:30 -08:00
|
|
|
|
|
|
|
config ZMK_SPLIT
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-03-08 21:30:30 -08:00
|
|
|
|
|
|
|
if ZMK_DISPLAY
|
|
|
|
|
|
|
|
config I2C
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-03-08 21:30:30 -08:00
|
|
|
|
|
|
|
config SSD1306
|
2023-04-22 21:25:56 -07:00
|
|
|
default y
|
2022-03-08 21:30:30 -08:00
|
|
|
|
|
|
|
endif # ZMK_DISPLAY
|
|
|
|
|
|
|
|
if LVGL
|
|
|
|
|
2023-01-17 20:33:42 -08:00
|
|
|
config LV_Z_VDB_SIZE
|
2023-04-22 21:25:56 -07:00
|
|
|
default 64
|
2022-03-08 21:30:30 -08:00
|
|
|
|
2023-06-23 00:17:00 -07:00
|
|
|
config LV_DPI_DEF
|
2023-04-22 21:25:56 -07:00
|
|
|
default 148
|
2022-03-08 21:30:30 -08:00
|
|
|
|
2023-01-17 20:33:42 -08:00
|
|
|
config LV_Z_BITS_PER_PIXEL
|
2023-04-22 21:25:56 -07:00
|
|
|
default 1
|
2022-03-08 21:30:30 -08:00
|
|
|
|
2023-01-17 20:33:42 -08:00
|
|
|
choice LV_COLOR_DEPTH
|
2023-04-22 21:25:56 -07:00
|
|
|
default LV_COLOR_DEPTH_1
|
2022-03-08 21:30:30 -08:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif # LVGL
|
|
|
|
|
|
|
|
endif
|