Created
December 31, 2020 01:57
-
-
Save mcrosson/5cd7203a5837029b63b5fb3933994d19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2020 The ZMK Contributors | |
* | |
* SPDX-License-Identifier: MIT | |
*/ | |
#include <behaviors.dtsi> | |
#include <dt-bindings/zmk/keys.h> | |
#include <dt-bindings/zmk/bt.h> | |
/ { | |
behaviors { | |
ht: hold_tap { | |
compatible = "zmk,behavior-hold-tap"; | |
label = "Hold Tap"; | |
#binding-cells = <2>; | |
tapping_term_ms = <150>; | |
flavor = "tap-preferred"; | |
bindings = <&bootloader>, <&reset>; | |
}; | |
}; | |
keymap { | |
compatible = "zmk,keymap"; | |
default_layer { | |
bindings = < | |
&ht B R | |
>; | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment