mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-25 11:20:24 +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/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
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue