b84d29c384
* 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.
16 lines
309 B
Text
16 lines
309 B
Text
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
/* DEPRECATED: `cp` will be removed in the future */
|
|
/omit-if-no-ref/ cp: kp: behavior_key_press {
|
|
compatible = "zmk,behavior-key-press";
|
|
label = "KEY_PRESS";
|
|
#binding-cells = <1>;
|
|
};
|
|
};
|
|
};
|