Skip to content

Commit

Permalink
Added Kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
turkishfilms committed Nov 6, 2024
1 parent 12aee7a commit 752e8c1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions boards/shields/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
if SHIELD_MY_KEYBOARD_LEFT

# Name must be less than 16 characters long!
config ZMK_KEYBOARD_NAME
default "Roo"

config ZMK_SPLIT_ROLE_CENTRAL
default y

endif

if SHIELD_MY_KEYBOARD_LEFT || SHIELD_MY_KEYBOARD_RIGHT

config ZMK_SPLIT
default y

endif
5 changes: 5 additions & 0 deletions boards/shields/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config SHIELD_MY_KEYBOARD_LEFT
def_bool $(shields_list_contains,roo_left)

config SHIELD_MY_KEYBOARD_RIGHT
def_bool $(shields_list_contains,roo_right)

0 comments on commit 752e8c1

Please sign in to comment.