mirror of https://github.com/zmkfirmware/zmk.git
24 lines
482 B
Plaintext
24 lines
482 B
Plaintext
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <dt-bindings/zmk/behaviors.h>
|
|
|
|
/ {
|
|
behaviors {
|
|
#if ZMK_BEHAVIOR_OMIT(MT)
|
|
/omit-if-no-ref/
|
|
#endif
|
|
mt: mod_tap {
|
|
compatible = "zmk,behavior-hold-tap";
|
|
#binding-cells = <2>;
|
|
flavor = "hold-preferred";
|
|
tapping-term-ms = <200>;
|
|
bindings = <&kp>, <&kp>;
|
|
display-name = "Mod-Tap";
|
|
};
|
|
};
|
|
};
|