keyboard/attic/zmk-config/config/boards/shields/azarashi64/azarashi64_right.overlay

45 lines
1.2 KiB
Plaintext

/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include "azarashi64.dtsi"
&default_transform {
col-offset = <6>;
};
/ {
/* This kscan is for the 65% right half the 60% right half
* may require different column and row pins
*/
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
diode-direction = "row2col";
col-gpios
= <&gpio0 25 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio0 24 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio1 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio0 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio0 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio0 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio1 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&gpio0 26 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
row-gpios
= <&gpio0 12 (GPIO_ACTIVE_HIGH)>
, <&gpio0 3 (GPIO_ACTIVE_HIGH)>
, <&gpio0 30 (GPIO_ACTIVE_HIGH)>
, <&gpio0 2 (GPIO_ACTIVE_HIGH)>
, <&gpio0 31 (GPIO_ACTIVE_HIGH)>
;
};
};