now compiles, not work, baby steps
This commit is contained in:
parent
4551d30769
commit
95bb220702
4 changed files with 19 additions and 21 deletions
|
@ -14,18 +14,19 @@
|
|||
|
||||
default_transform: keymap_transform_0 {
|
||||
compatible = "zmk,matrix-transform";
|
||||
columns = <10>;
|
||||
rows = <4>;
|
||||
columns = <34>;
|
||||
rows = <1>;
|
||||
map = <
|
||||
RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10)
|
||||
RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10)
|
||||
RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10)
|
||||
RC(3,4) RC(3,5) RC(3,6) RC(3,7)
|
||||
RC(0,11) RC(0,12) RC(0,13) RC(0,14) RC(0,15) RC(0,16) RC(0,17) RC(0,18) RC(0,19) RC(0,20)
|
||||
RC(0,21) RC(0,22) RC(0,23) RC(0,24) RC(0,25) RC(0,26) RC(0,27) RC(0,28) RC(0,29) RC(0,30)
|
||||
RC(0,31) RC(0,32) RC(0,33) RC(0,34)
|
||||
>;
|
||||
};
|
||||
|
||||
kscan0: kscan {
|
||||
compatible = "zmk,kscan-gpio-direct";
|
||||
label = "KSCAN";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
|
||||
/ {
|
||||
keymap0: keymap {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
|
@ -11,7 +11,8 @@
|
|||
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
|
||||
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN
|
||||
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH
|
||||
&kp DEL &kp RET &kp RET &SPC
|
||||
&kp 3 &kp 4 &kp 2 &kp 1
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
*/
|
||||
#include "cradios.dtsi"
|
||||
|
||||
kscan_0 {
|
||||
|
||||
&kscan0 {
|
||||
|
||||
input-gpios
|
||||
= <&pro_micro_d 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
|
@ -28,7 +29,5 @@ kscan_0 {
|
|||
;
|
||||
};
|
||||
|
||||
&bt_unpair_combo {
|
||||
key-positions = <0 38>;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -6,12 +6,11 @@
|
|||
#include "cradios.dtsi"
|
||||
|
||||
&default_transform {
|
||||
col-offset = <5>;
|
||||
col-offset = <17>;
|
||||
};
|
||||
|
||||
&kscan0 {
|
||||
input-gpios
|
||||
|
||||
= <&pro_micro_d 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&pro_micro_a 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
, <&pro_micro_a 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
|
@ -32,7 +31,5 @@
|
|||
;
|
||||
};
|
||||
|
||||
&bt_unpair_combo {
|
||||
key-positions = <0 38>;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue