mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-21 17:40:25 +01:00
swap +/-, add åäö
This commit is contained in:
parent
46249cadb6
commit
bbaccb15fe
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
>;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue