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/bt.h>
#define HOST_OS 1
#include "../../../../zmk-nodefree-config/helper.h"
#define L0 0
@ -13,11 +14,11 @@
/ {
behaviors {
// characters with logical inverses, assigned to shift
iplus: i_plus_minus {
iminus: i_minus_plus {
compatible = "zmk,behavior-mod-morph";
label = "+ -";
label = "- +";
#binding-cells = <0>;
bindings = <&kp PLUS>, <&kp MINUS>;
bindings = <&kp MINUS>, <&kp PLUS>;
mods = <(MOD_LSFT)>;
};
iunder: i_underscore_pipe {
@ -58,9 +59,9 @@
// numbers + symbols + non english letters
layer_1 {
bindings = <
&kp TAB &none &none &none &none &none &none &none &none &kp DEL
&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
&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
&trans &none &none &none &none &iunder &iminus &icomma &idot &trans
&trans &trans &trans &mo L3 &trans &trans
>;
};