2020-09-13 13:48:44 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-12-23 02:56:00 +11:00
|
|
|
#include <dt-bindings/zmk/matrix_transform.h>
|
2020-09-13 13:48:44 +10: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)>
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|