swap +/-, add åäö

This commit is contained in:
Crispy 2022-09-18 20:05:19 +02:00
parent 46249cadb6
commit bbaccb15fe

View file

@ -2,6 +2,7 @@
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/bt.h>
#define HOST_OS 1
#include "../../../../zmk-nodefree-config/helper.h" #include "../../../../zmk-nodefree-config/helper.h"
#define L0 0 #define L0 0
@ -13,11 +14,11 @@
/ { / {
behaviors { behaviors {
// characters with logical inverses, assigned to shift // characters with logical inverses, assigned to shift
iplus: i_plus_minus { iminus: i_minus_plus {
compatible = "zmk,behavior-mod-morph"; compatible = "zmk,behavior-mod-morph";
label = "+ -"; label = "- +";
#binding-cells = <0>; #binding-cells = <0>;
bindings = <&kp PLUS>, <&kp MINUS>; bindings = <&kp MINUS>, <&kp PLUS>;
mods = <(MOD_LSFT)>; mods = <(MOD_LSFT)>;
}; };
iunder: i_underscore_pipe { iunder: i_underscore_pipe {
@ -58,9 +59,9 @@
// numbers + symbols + non english letters // numbers + symbols + non english letters
layer_1 { layer_1 {
bindings = < bindings = <
&kp TAB &none &none &none &none &none &none &none &none &kp DEL &kp TAB &none &none &none &none &none &sv_ao &sv_ae &sv_oe &kp DEL
&kp N0 &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9
&trans &none &none &none &none &iunder &iplus &icomma &idot &trans &trans &none &none &none &none &iunder &iminus &icomma &idot &trans
&trans &trans &trans &mo L3 &trans &trans &trans &trans &trans &mo L3 &trans &trans
>; >;
}; };