* Use lesser-known DT features to skip behaviors not referenced in the user keymap * Update the behaviors to skip code if no nodes found. * Remove some empty config/data structs where unused in behaviors.
18 lines
331 B
Text
18 lines
331 B
Text
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
/omit-if-no-ref/ mt: behavior_mod_tap {
|
|
compatible = "zmk,behavior-hold-tap";
|
|
label = "MOD_TAP";
|
|
#binding-cells = <2>;
|
|
flavor = "hold-preferred";
|
|
tapping_term_ms = <200>;
|
|
bindings = <&kp>, <&kp>;
|
|
};
|
|
};
|
|
};
|