mirror of
https://github.com/dnlbauer/corax-zmk-config.git
synced 2026-09-10 21:55:29 +00:00
initial commit
This commit is contained in:
33
config/boards/shields/ownkb/ownkb_right.overlay
Normal file
33
config/boards/shields/ownkb/ownkb_right.overlay
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2023 The ZMK Contributors
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#include "ownkb.dtsi"
|
||||
|
||||
&default_transform {
|
||||
col-offset = <6>;
|
||||
};
|
||||
|
||||
&kscan0 {
|
||||
diode-direction = "row2col";
|
||||
row-gpios
|
||||
= <&pro_micro 19 (GPIO_ACTIVE_LOW)>
|
||||
, <&pro_micro 18 (GPIO_ACTIVE_LOW)>
|
||||
, <&pro_micro 15 (GPIO_ACTIVE_LOW)>
|
||||
, <&pro_micro 14 (GPIO_ACTIVE_LOW)>
|
||||
, <&pro_micro 16 (GPIO_ACTIVE_LOW)>
|
||||
, <&pro_micro 10 (GPIO_ACTIVE_LOW)>
|
||||
;
|
||||
col-gpios
|
||||
= <&pro_micro 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&pro_micro 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&pro_micro 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&pro_micro 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&pro_micro 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
;
|
||||
};
|
||||
|
||||
&right_encoder {
|
||||
status = "okay";
|
||||
};
|
||||
Reference in New Issue
Block a user