forked from kofal.net/zmk
refactor: Replace tabs with spaces
Standardized indentation to use spaces with a new pre-commit hook.
This commit is contained in:
committed by
Pete Johanson
parent
32ae776c42
commit
94061bb916
@@ -4,31 +4,31 @@
|
||||
#include <dt-bindings/zmk/backlight.h>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zmk,backlight = &backlight;
|
||||
};
|
||||
chosen {
|
||||
zmk,backlight = &backlight;
|
||||
};
|
||||
|
||||
backlight: leds {
|
||||
compatible = "gpio-leds";
|
||||
led_0 {
|
||||
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||
label = "Backlight LED 0";
|
||||
};
|
||||
led_1 {
|
||||
gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
|
||||
label = "Backlight LED 1";
|
||||
};
|
||||
};
|
||||
backlight: leds {
|
||||
compatible = "gpio-leds";
|
||||
led_0 {
|
||||
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
||||
label = "Backlight LED 0";
|
||||
};
|
||||
led_1 {
|
||||
gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
|
||||
label = "Backlight LED 1";
|
||||
};
|
||||
};
|
||||
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
label ="Default keymap";
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
label ="Default keymap";
|
||||
|
||||
default_layer {
|
||||
bindings = <
|
||||
&bl BL_INC &bl BL_DEC
|
||||
&bl BL_ON &bl BL_OFF
|
||||
>;
|
||||
};
|
||||
};
|
||||
default_layer {
|
||||
bindings = <
|
||||
&bl BL_INC &bl BL_DEC
|
||||
&bl BL_ON &bl BL_OFF
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user