Skip to content

Instantly share code, notes, and snippets.

@mcrosson
Created December 31, 2020 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcrosson/5cd7203a5837029b63b5fb3933994d19 to your computer and use it in GitHub Desktop.
Save mcrosson/5cd7203a5837029b63b5fb3933994d19 to your computer and use it in GitHub Desktop.
/*
* 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