Initial working Clueboard California Macropad w/ proton-c fixes

* Basic Clueboard Californai Macropad shield definition.
* New "direct" KSCAN driver that supports non-matrix direct
  wiring for switches, needed for macropad that doesn't have
  a matrix at all.
* Some renames for existing KSCAN GPIO driver to make the implied
  "matrix" part explicit.
This commit is contained in:
Pete Johanson
2020-06-24 10:06:35 -04:00
parent 23931aa4fe
commit d35a95c7af
16 changed files with 129 additions and 11 deletions

View File

@@ -21,7 +21,7 @@
};
left_hand: kscan_1 {
compatible = "gpio-kscan";
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN_LEFT";
diode-direction = "row2col";
@@ -32,7 +32,7 @@
};
right_hand: kscan_2 {
compatible = "gpio-kscan";
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN_RIGHT";
diode-direction = "row2col";