* Refactor Kyria into separate left/right "revisions" of the Kyria shield, and include central kyria.dtsi file with common definition. * Fixes for keymaps to work fully with matrix transforms that override effective rows/columns. * Add ability for matrix transform to do row/col offsets, which is needed for split keyboards.
26 lines
487 B
Text
26 lines
487 B
Text
/*
|
|
* Copyright (c) 2020 Pete Johanson
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "kyria.dtsi"
|
|
|
|
&default_transform {
|
|
col-offset = <8>;
|
|
};
|
|
|
|
&kscan0 {
|
|
col-gpios
|
|
= <&pro_micro_d 10 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_d 16 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_d 14 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_d 15 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_a 0 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_a 1 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_a 2 GPIO_ACTIVE_HIGH>
|
|
, <&pro_micro_a 3 GPIO_ACTIVE_HIGH>
|
|
;
|
|
};
|
|
|