* For upcoming ZMK studio work, make a set of rich metadata available to provide a friendly name for a behavior, and allow super flexible descriptions of the parameters the behaviors take. * Add ability to validate a zmk_behavior_binding against the behavior metadata available.
18 lines
401 B
Text
18 lines
401 B
Text
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
/omit-if-no-ref/ 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";
|
|
};
|
|
};
|
|
};
|