From 3d030ec2abed9c8d48387e0002066c70bd5f085c Mon Sep 17 00:00:00 2001 From: krikun98 Date: Thu, 5 Nov 2020 23:45:26 +0300 Subject: Jorne shield --- app/boards/shields/jorne/Kconfig.defconfig | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 app/boards/shields/jorne/Kconfig.defconfig (limited to 'app/boards/shields/jorne/Kconfig.defconfig') diff --git a/app/boards/shields/jorne/Kconfig.defconfig b/app/boards/shields/jorne/Kconfig.defconfig new file mode 100644 index 0000000..a8cf29b --- /dev/null +++ b/app/boards/shields/jorne/Kconfig.defconfig @@ -0,0 +1,58 @@ + +if SHIELD_JORNE_LEFT + +config ZMK_KEYBOARD_NAME + default "Jorne Left" + +endif + + +if SHIELD_JORNE_RIGHT + +config ZMK_KEYBOARD_NAME + default "Jorne Right" + +endif + +if SHIELD_JORNE_LEFT || SHIELD_JORNE_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 + 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 -- cgit v1.2.3