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
@@ -5,30 +5,30 @@
|
||||
*/
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zmk,kscan = &kscan0;
|
||||
};
|
||||
chosen {
|
||||
zmk,kscan = &kscan0;
|
||||
};
|
||||
|
||||
kscan0: kscan_0 {
|
||||
compatible = "zmk,kscan-gpio-direct";
|
||||
kscan0: kscan_0 {
|
||||
compatible = "zmk,kscan-gpio-direct";
|
||||
|
||||
label = "KSCAN";
|
||||
label = "KSCAN";
|
||||
|
||||
input-gpios
|
||||
= <&gpioa 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 11 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
;
|
||||
input-gpios
|
||||
= <&gpioa 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 11 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpioa 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&gpiob 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
;
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
// TODO: Per-key LED node(s)
|
||||
// TODO: Per-key LED node(s)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user