Pete Johanson
4 years ago
2 changed files with 20 additions and 4 deletions
@ -1,10 +1,23 @@ |
|||||||
# Copyright (c) 2020 The ZMK Contributors |
# Copyright (c) 2020 The ZMK Contributors |
||||||
# SPDX-License-Identifier: MIT |
# SPDX-License-Identifier: MIT |
||||||
|
|
||||||
|
if SHIELD_CRADIO_LEFT |
||||||
|
|
||||||
|
config ZMK_KEYBOARD_NAME |
||||||
|
default "cradio left" |
||||||
|
|
||||||
|
endif |
||||||
|
|
||||||
|
if SHIELD_CRADIO_RIGHT |
||||||
|
|
||||||
config ZMK_KEYBOARD_NAME |
config ZMK_KEYBOARD_NAME |
||||||
default "cradio" |
default "cradio right" |
||||||
|
|
||||||
|
endif |
||||||
|
|
||||||
|
if SHIELD_CRADIO_RIGHT || SHIELD_CRADIO_LEFT |
||||||
|
|
||||||
config ZMK_KSCAN_DIRECT_POLLING |
config ZMK_KSCAN_DIRECT_POLLING |
||||||
default y |
default y |
||||||
|
|
||||||
|
endif |
||||||
|
@ -1,5 +1,8 @@ |
|||||||
# Copyright (c) 2020 The ZMK Contributors |
# Copyright (c) 2020 The ZMK Contributors |
||||||
# SPDX-License-Identifier: MIT |
# SPDX-License-Identifier: MIT |
||||||
|
|
||||||
config SHIELD_CRADIO |
config SHIELD_CRADIO_LEFT |
||||||
def_bool $(shields_list_contains,cradio) |
def_bool $(shields_list_contains,cradio_left) |
||||||
|
|
||||||
|
config SHIELD_CRADIO_RIGHT |
||||||
|
def_bool $(shields_list_contains,cradio_right) |
||||||
|
Loading…
Reference in new issue