forked from kofal.net/zmk
feat(lighting): add backlight behavior
This commit is contained in:
committed by
Pete Johanson
parent
84365e6def
commit
85b2d30bd5
15
app/dts/behaviors/backlight.dtsi
Normal file
15
app/dts/behaviors/backlight.dtsi
Normal 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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user