diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-09-12 23:48:44 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-09-13 22:33:31 -0400 |
commit | 652bb6ce05254f8168f279396a50b92d7a2182c3 (patch) | |
tree | 0030275fb0d9058ab26945408424bda13bea956f /app/boards/shields/settings_reset/settings_reset.overlay | |
parent | fb91be5164a5b6ba78b19c7a2597c13ddd992f81 (diff) |
feat(bluetooth): Add new settings_reset shield.
* Easy to build board/image that will clear
saved profile/bond information for a fresh
start for keyboards.
Diffstat (limited to 'app/boards/shields/settings_reset/settings_reset.overlay')
-rw-r--r-- | app/boards/shields/settings_reset/settings_reset.overlay | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/boards/shields/settings_reset/settings_reset.overlay b/app/boards/shields/settings_reset/settings_reset.overlay new file mode 100644 index 0000000..a2b5799 --- /dev/null +++ b/app/boards/shields/settings_reset/settings_reset.overlay @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2020 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +#include <dt-bindings/zmk/matrix-transform.h> + +/ { + chosen { + zmk,kscan = &kscan0; + }; + + kscan0: kscan { + compatible = "zmk,kscan-gpio-direct"; + label = "KSCAN"; + + input-gpios + = <&pro_micro_d 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + ; + }; + +}; + |