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:
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
|
||||
#define BASE 0
|
||||
@@ -81,6 +82,16 @@
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <300>;
|
||||
};
|
||||
|
||||
hbt: hbt {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
label = "HBT";
|
||||
bindings = <&bt>, <&none>;
|
||||
|
||||
#binding-cells = <2>;
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <300>;
|
||||
};
|
||||
};
|
||||
|
||||
combos {
|
||||
@@ -152,11 +163,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 &none &none &none &none &none &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 &hbt BT_DISC 0 0 &hbt BT_PRV 0 &hbt BT_CLR 0 &hbt BT_NXT 0 &hbt BT_SEL 0 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
|
||||
>;
|
||||
|
||||
label = "Mod A";
|
||||
@@ -174,11 +185,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 &none &none &none &none &none &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 &hbt BT_SEL 0 0 &hbt BT_PRV 0 &hbt BT_CLR 0 &hbt BT_NXT 0 &hbt BT_DISC 0 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
|
||||
>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user