mirror of
https://github.com/tcaxle/zmk-config.git
synced 2026-02-20 03:05:16 +00:00
Updated sofle.keymap
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
|
||||
#define BASE 0
|
||||
#define LOWER 1
|
||||
@@ -89,8 +90,8 @@
|
||||
bindings = <&bt>, <&none>;
|
||||
|
||||
#binding-cells = <2>;
|
||||
tapping-term-ms = <1000>;
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <300>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -121,6 +122,11 @@
|
||||
bindings = <&kp ENTER>;
|
||||
key-positions = <21 20>;
|
||||
};
|
||||
|
||||
conf_layer {
|
||||
bindings = <&sl 5>;
|
||||
key-positions = <53 56>;
|
||||
};
|
||||
};
|
||||
|
||||
keymap {
|
||||
@@ -163,11 +169,11 @@
|
||||
|
||||
mod_a {
|
||||
bindings = <
|
||||
&kp EQUAL &kp LBKT &kp RBKT &trans &trans &trans &trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp EQUAL
|
||||
&kp NON_US_HASH &bt BT_DISC 0 &bt BT_PRV &bt BT_CLR &bt BT_NXT &bt BT_SEL 0 &mt F7 KP_NUMBER_7 &mt F8 KP_NUMBER_8 &mt F9 KP_NUMBER_9 &kp KP_ASTERISK &kp KP_DIVIDE &kp NON_US_HASH
|
||||
&kp DELETE &kp INS &kp HOME &kp UP &kp END &kp PG_UP &mt F4 KP_NUMBER_4 &mt F5 KP_NUMBER_5 &mt F6 KP_NUMBER_6 &kp KP_PLUS &kp KP_MINUS &kp BACKSPACE
|
||||
&kp LSHIFT &kp NUBS &kp LEFT &kp DOWN &kp RIGHT &kp PAGE_DOWN &trans &trans &mt F1 KP_NUMBER_1 &mt F2 KP_NUMBER_2 &mt F3 KP_NUMBER_3 &kp KP_DOT &kp KP_EQUAL &kp RSHIFT
|
||||
&trans &trans &trans &trans &trans &trans &trans &kp KP_NUMBER_0 &trans &trans
|
||||
&kp EQUAL &kp LBKT &kp RBKT &trans &trans &trans &trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp EQUAL
|
||||
&kp NON_US_HASH &trans &trans &trans &trans &trans &mt F7 KP_NUMBER_7 &mt F8 KP_NUMBER_8 &mt F9 KP_NUMBER_9 &kp KP_ASTERISK &kp KP_DIVIDE &kp NON_US_HASH
|
||||
&kp DELETE &kp INS &kp HOME &kp UP &kp END &kp PG_UP &mt F4 KP_NUMBER_4 &mt F5 KP_NUMBER_5 &mt F6 KP_NUMBER_6 &kp KP_PLUS &kp KP_MINUS &kp BACKSPACE
|
||||
&kp LSHIFT &kp NUBS &kp LEFT &kp DOWN &kp RIGHT &kp PAGE_DOWN &trans &trans &mt F1 KP_NUMBER_1 &mt F2 KP_NUMBER_2 &mt F3 KP_NUMBER_3 &kp KP_DOT &kp KP_EQUAL &kp RSHIFT
|
||||
&trans &trans &trans &trans &trans &trans &trans &kp KP_NUMBER_0 &trans &trans
|
||||
>;
|
||||
|
||||
label = "Mod A";
|
||||
@@ -185,11 +191,11 @@
|
||||
// | | | | | | | | | | | |
|
||||
|
||||
bindings = <
|
||||
&kp EQUAL &kp LEFT_BRACKET &kp RIGHT_BRACKET &trans &trans &trans &trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp EQUAL
|
||||
&kp KP_NUMLOCK &kp KP_DIVIDE &kp KP_MULTIPLY &mt F7 KP_NUMBER_7 &mt F8 KP_NUMBER_8 &mt F9 KP_NUMBER_9 &bt BT_SEL 0 &bt BT_PRV &bt BT_CLR &bt BT_NXT &bt BT_DISC 0 &kp NON_US_HASH
|
||||
&kp BACKSPACE &kp KP_SUBTRACT &kp KP_PLUS &mt F4 KP_NUMBER_4 &mt F5 KP_NUMBER_5 &mt F6 KP_NUMBER_6 &kp PG_UP &kp HOME &kp UP &kp END &kp INS &kp DELETE
|
||||
&kp LEFT_SHIFT &kp KP_EQUAL &kp KP_DOT &mt F1 KP_NUMBER_1 &mt F2 KP_NUMBER_2 &mt F3 KP_NUMBER_3 &trans &trans &kp PAGE_DOWN &kp LEFT &kp DOWN &kp RIGHT &kp NUBS &kp RIGHT_SHIFT
|
||||
&trans &trans &kp KP_N0 &tog 3 &trans &trans &tog 3 &trans &trans &trans
|
||||
&kp EQUAL &kp LEFT_BRACKET &kp RIGHT_BRACKET &trans &trans &trans &trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp EQUAL
|
||||
&kp KP_NUMLOCK &kp KP_DIVIDE &kp KP_MULTIPLY &mt F7 KP_NUMBER_7 &mt F8 KP_NUMBER_8 &mt F9 KP_NUMBER_9 &trans &trans &trans &trans &trans &kp NON_US_HASH
|
||||
&kp BACKSPACE &kp KP_SUBTRACT &kp KP_PLUS &mt F4 KP_NUMBER_4 &mt F5 KP_NUMBER_5 &mt F6 KP_NUMBER_6 &kp PG_UP &kp HOME &kp UP &kp END &kp INS &kp DELETE
|
||||
&kp LEFT_SHIFT &kp KP_EQUAL &kp KP_DOT &mt F1 KP_NUMBER_1 &mt F2 KP_NUMBER_2 &mt F3 KP_NUMBER_3 &trans &trans &kp PAGE_DOWN &kp LEFT &kp DOWN &kp RIGHT &kp NUBS &kp RIGHT_SHIFT
|
||||
&trans &trans &kp KP_N0 &tog 3 &trans &trans &tog 3 &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
@@ -204,5 +210,17 @@
|
||||
|
||||
label = "QWERTY";
|
||||
};
|
||||
|
||||
conf {
|
||||
bindings = <
|
||||
&sys_reset &hbt BT_SEL 0 0 &hbt BT_SEL 0 1 &hbt BT_SEL 0 2 &hbt BT_SEL 0 3 &hbt BT_SEL 0 4 &trans &trans &trans &trans &trans &trans
|
||||
&bootloader &hbt BT_DISC 0 0 &hbt BT_DISC 0 1 &hbt BT_DISC 0 2 &hbt BT_DISC 0 3 &hbt BT_DISC 0 4 &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &out OUT_USB &hbt BT_CLR_ALL 0 &out OUT_BLE &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &hbt BT_PRV 0 &hbt BT_CLR 0 &hbt BT_NXT 0 &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
|
||||
label = "conf";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user