feat(lighting): add backlight behavior

This commit is contained in:
Alessandro Bortolin
2021-10-09 18:24:37 +02:00
committed by Pete Johanson
parent 84365e6def
commit 85b2d30bd5
9 changed files with 371 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
/*
* Copyright (c) 2021 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
/ {
behaviors {
/omit-if-no-ref/ bl: behavior_backlight {
compatible = "zmk,behavior-backlight";
label = "BACKLIGHT";
#binding-cells = <1>;
};
};
};