Skip to content

Instantly share code, notes, and snippets.

@mcrosson
Created Dec 31, 2020
Embed
What would you like to do?
/*
* 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