Skip to content

Commit

Permalink
Clean up config 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SofusA committed Feb 14, 2025
1 parent f73eae9 commit fc30c5b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 25 deletions.
13 changes: 1 addition & 12 deletions config/boards/shields/dongle_display/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ config ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
select ZMK_WPM
imply ZMK_HID_INDICATORS

config ZMK_DONGLE_DISPLAY_DONGLE_BATTERY
bool "Show also the battery level of the dongle"
depends on BT && (!ZMK_SPLIT_BLE || ZMK_SPLIT_ROLE_CENTRAL)

config ZMK_DONGLE_DISPLAY_MAC_MODIFIERS
bool "Use MacOS modifier symbols instead of the Windows symbols"

choice ZMK_DISPLAY_WORK_QUEUE
default ZMK_DISPLAY_WORK_QUEUE_DEDICATED
endchoice

config LV_Z_MEM_POOL_SIZE
default 8192

Expand All @@ -45,4 +34,4 @@ choice LV_COLOR_DEPTH
default LV_COLOR_DEPTH_1
endchoice

endif
endif
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);

#include "battery_status.h"

#if IS_ENABLED(CONFIG_ZMK_DONGLE_DISPLAY_DONGLE_BATTERY)
#define SOURCE_OFFSET 1
#else
#define SOURCE_OFFSET 0
#endif
#define SOURCE_OFFSET 0

static sys_slist_t widgets = SYS_SLIST_STATIC_INIT(&widgets);

Expand Down
29 changes: 21 additions & 8 deletions config/boards/shields/sweeple/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
if SHIELD_SWEEPLE_DONGLE
config ZMK_KEYBOARD_NAME
default "Sweeple"

config ZMK_KEYBOARD_NAME
default "Sweeple"
config ZMK_SPLIT_ROLE_CENTRAL
default y

config ZMK_SPLIT_ROLE_CENTRAL
default y
config ZMK_DISPLAY
select LV_USE_CONT
select LV_FONT_MONTSERRAT_26
select LV_FONT_MONTSERRAT_16
select LV_USE_LABEL
select LV_USE_IMG

endif
config I2C
default y

if SHIELD_SWEEPLE_LEFT || SHIELD_SWEEPLE_RIGHT || SHIELD_SWEEPLE_DONGLE
config SSD1306
default y

config ZMK_SPLIT
default y
config SSD1306_REVERSE_MODE
bool
default n
endif

if SHIELD_SWEEPLE_LEFT || SHIELD_SWEEPLE_RIGHT || SHIELD_SWEEPLE_DONGLE
config ZMK_SPLIT
default y
endif

0 comments on commit fc30c5b

Please sign in to comment.