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
335 B
24 lines
335 B
/* |
|
* Copyright (c) 2020 The ZMK Contributors |
|
* |
|
* SPDX-License-Identifier: MIT |
|
*/ |
|
|
|
#include <dt-bindings/zmk/matrix-transform.h> |
|
|
|
/ { |
|
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)> |
|
; |
|
}; |
|
|
|
}; |
|
|
|
|