Browse Source

Provide context on Quefrency physical PCB layouts

The Quefrency board has two options for each left and right half,
resulting in 4 unique combinations. This has been noted in the
overlay and dtsi files.
xmkb
Noah Thornton 4 years ago
parent
commit
9afd44b9d4
  1. 4
      app/boards/shields/quefrency/quefrency.dtsi
  2. 3
      app/boards/shields/quefrency/quefrency_left.overlay
  3. 3
      app/boards/shields/quefrency/quefrency_right.overlay

4
app/boards/shields/quefrency/quefrency.dtsi

@ -13,6 +13,10 @@
zmk,matrix_transform = &default_transform; zmk,matrix_transform = &default_transform;
}; };
/*
* This transform correspondsto the 60% left without macro keypad and 65% right, even this
* combination of PCBs can have keys in different locations based on configuration.
*/
default_transform: keymap_transform_0 { default_transform: keymap_transform_0 {
compatible = "zmk,matrix-transform"; compatible = "zmk,matrix-transform";
columns = <15>; columns = <15>;

3
app/boards/shields/quefrency/quefrency_left.overlay

@ -7,6 +7,9 @@
#include "quefrency.dtsi" #include "quefrency.dtsi"
/ { / {
/* This kscan is for the 60% left half without macro keys the
* macro pad layout may require different column and row pins
*/
kscan0: kscan { kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN"; label = "KSCAN";

3
app/boards/shields/quefrency/quefrency_right.overlay

@ -12,6 +12,9 @@
/ { / {
/* This kscan is for the 65% right half the 60% right half
* may require different column and row pins
*/
kscan0: kscan { kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN"; label = "KSCAN";

Loading…
Cancel
Save