2020-09-12 20:48:44 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-12-22 07:56:00 -08:00
|
|
|
#include <dt-bindings/zmk/matrix_transform.h>
|
2020-09-12 20:48:44 -07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zmk,kscan = &kscan0;
|
|
|
|
};
|
|
|
|
|
|
|
|
kscan0: kscan {
|
|
|
|
compatible = "zmk,kscan-gpio-direct";
|
|
|
|
label = "KSCAN";
|
|
|
|
|
|
|
|
input-gpios
|
|
|
|
= <&pro_micro_d 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|