2021-10-03 20:47:23 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "zodiark.dtsi"
|
|
|
|
|
|
|
|
&default_transform {
|
2023-04-22 21:25:56 -07:00
|
|
|
col-offset = <7>;
|
2021-10-03 20:47:23 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
&kscan0 {
|
2023-04-22 21:25:56 -07:00
|
|
|
col-gpios
|
|
|
|
= <&pro_micro 10 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro 16 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro 15 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro 0 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro 1 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro 2 GPIO_ACTIVE_HIGH>
|
|
|
|
;
|
2021-10-03 20:47:23 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
&right_encoder {
|
2023-04-22 21:25:56 -07:00
|
|
|
status = "okay";
|
2021-10-03 20:47:23 -07:00
|
|
|
};
|