You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
339 B
24 lines
339 B
4 years ago
|
/*
|
||
|
* Copyright (c) 2022 The ZMK Contributors
|
||
|
*
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*/
|
||
|
|
||
|
/ {
|
||
|
chosen {
|
||
|
zmk,kscan = &kscan0;
|
||
|
};
|
||
|
|
||
|
kscan0: kscan {
|
||
|
compatible = "zmk,kscan-gpio-direct";
|
||
|
|
||
|
label = "KSCAN";
|
||
|
|
||
|
input-gpios
|
||
|
= <&pro_micro 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||
|
, <&pro_micro 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||
|
;
|
||
|
|
||
|
};
|
||
|
|
||
|
};
|