2020-12-27 21:17:52 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-12-28 17:01:37 +00:00
|
|
|
#include <dt-bindings/zmk/matrix_transform.h>
|
2020-12-27 21:17:52 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zmk,kscan = &kscan0;
|
|
|
|
};
|
|
|
|
|
|
|
|
kscan0: kscan_0 {
|
|
|
|
compatible = "zmk,kscan-gpio-direct";
|
|
|
|
|
|
|
|
label = "KSCAN";
|
|
|
|
|
|
|
|
input-gpios
|
|
|
|
= <&gpio1 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>
|
|
|
|
;
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|