Skip to content

Commit

Permalink
preserving the code for the v1 non-reversible janus
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbursik committed May 18, 2024
1 parent 0810683 commit fea64e4
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
10 changes: 0 additions & 10 deletions boards/shields/janus/janus.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,5 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8) RC(3,9)
, <&pro_micro 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;

col-gpios
= <&pro_micro 20 GPIO_ACTIVE_HIGH>
, <&pro_micro 19 GPIO_ACTIVE_HIGH>
, <&pro_micro 18 GPIO_ACTIVE_HIGH>
, <&pro_micro 15 GPIO_ACTIVE_HIGH>
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
, <&pro_micro 16 GPIO_ACTIVE_HIGH>
, <&pro_micro 10 GPIO_ACTIVE_HIGH>
;

};
};
2 changes: 1 addition & 1 deletion boards/shields/janus/janus.zmk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ file_format: "1"
id: janus
name: Janus
type: shield
url: https://github.com/jsbursik/Janus-Reversible
url: https://github.com/jsbursik/JanusKeyboard
requires: [pro_micro]
features:
- keys
Expand Down
13 changes: 13 additions & 0 deletions boards/shields/janus/janus_left.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "janus.dtsi"

&kscan0 {
col-gpios
= <&pro_micro 15 GPIO_ACTIVE_HIGH>
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
, <&pro_micro 16 GPIO_ACTIVE_HIGH>
, <&pro_micro 10 GPIO_ACTIVE_HIGH>
, <&pro_micro 20 GPIO_ACTIVE_HIGH>
, <&pro_micro 19 GPIO_ACTIVE_HIGH>
, <&pro_micro 18 GPIO_ACTIVE_HIGH>
;
};
12 changes: 12 additions & 0 deletions boards/shields/janus/janus_right.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@

&default_transform {
col-offset = <7>;
};

&kscan0 {
col-gpios
= <&pro_micro 18 GPIO_ACTIVE_HIGH>
, <&pro_micro 19 GPIO_ACTIVE_HIGH>
, <&pro_micro 20 GPIO_ACTIVE_HIGH>
, <&pro_micro 10 GPIO_ACTIVE_HIGH>
, <&pro_micro 16 GPIO_ACTIVE_HIGH>
, <&pro_micro 14 GPIO_ACTIVE_HIGH>
, <&pro_micro 15 GPIO_ACTIVE_HIGH>
;
};

0 comments on commit fea64e4

Please sign in to comment.