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.
17 lines
372 B
Plaintext
17 lines
372 B
Plaintext
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
/* DEPRECATED: `inc_dec_cp` will be removed in the future */
|
|
/omit-if-no-ref/ inc_dec_cp: inc_dec_kp: behavior_sensor_rotate_key_press {
|
|
compatible = "zmk,behavior-sensor-rotate-key-press";
|
|
label = "ENC_KEY_PRESS";
|
|
#sensor-binding-cells = <2>;
|
|
};
|
|
};
|
|
};
|