fd05478897
* Refactor common parts of the Microdox sheild into a separate file. This is in preparation for adding Microdox V2 as another shield in the same directory. * Refactor Microdox keymap into a common file in preparation for Microdox V2 * Add Microdox V2 shield definition * Added a README to explain v1/v2 differences.
24 lines
639 B
Plaintext
24 lines
639 B
Plaintext
/*
|
|
* Copyright (c) 2023 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "microdox_v2.dtsi"
|
|
|
|
&kscan0 {
|
|
col-gpios
|
|
= <&pro_micro 4 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro 6 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro 18 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro 19 GPIO_ACTIVE_HIGH>
|
|
;
|
|
row-gpios
|
|
= <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
|
, <&pro_micro 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
|
, <&pro_micro 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
|
, <&pro_micro 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
|
;
|
|
};
|