Compare commits
2 commits
5deeb64d29
...
33cfd34b02
Author | SHA1 | Date | |
---|---|---|---|
33cfd34b02 | |||
73212e90dc |
2 changed files with 22 additions and 18 deletions
|
@ -5,6 +5,6 @@ CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
|||
CONFIG_ZMK_SLEEP=y
|
||||
|
||||
# Milliseconds of inactivity before entering deep sleep (default 900000)
|
||||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=5400000
|
||||
#CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=5400000
|
||||
|
||||
CONFIG_ZMK_MOUSE=y
|
||||
#CONFIG_ZMK_MOUSE=y
|
||||
|
|
|
@ -8,16 +8,20 @@
|
|||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
#include <dt-bindings/zmk/mouse.h>
|
||||
// #include <dt-bindings/zmk/mouse.h>
|
||||
|
||||
#define BASE_L 0
|
||||
#define SYM_L 1
|
||||
#define NAV_L 2
|
||||
#define NUM_L 3
|
||||
#define FUN_L 4
|
||||
#define MOUSE_L 5
|
||||
// #define MOUSE_L 5
|
||||
|
||||
// < { quick_tap_ms = <100>; };
|
||||
< {
|
||||
flavor = "tap-preferred";
|
||||
tapping-term-ms = <150>;
|
||||
quick-tap-ms = <0>;
|
||||
};
|
||||
|
||||
/ {
|
||||
combos {
|
||||
|
@ -52,7 +56,7 @@
|
|||
COMBO(reset_left, &bootloader, 0 1 2 3, 100)
|
||||
COMBO(reset_right, &bootloader, 6 7 8 9, 100)
|
||||
|
||||
COMBO(caps_word, &caps_word, 10 19, 100)
|
||||
COMBO(caps_word, &caps_word, 10 19, 40)
|
||||
};
|
||||
|
||||
behaviors {
|
||||
|
@ -97,7 +101,7 @@
|
|||
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
|
||||
&lhm LSHFT A &lhm LALT S &lhm LCTRL D &lhm LGUI F &lhm RALT G &rhm RALT H &rhm LGUI J &rhm LCTRL K &rhm LALT L &rhm LSHFT SEMI
|
||||
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SINGLE_QUOTE
|
||||
&mo NAV_L &mo MOUSE_L &none &none < NUM_L SPACE &mo SYM_L
|
||||
&mo NAV_L &none/*mo MOUSE_L*/ &none &none < NUM_L SPACE &mo SYM_L
|
||||
>;
|
||||
};
|
||||
|
||||
|
@ -137,13 +141,13 @@
|
|||
>;
|
||||
};
|
||||
|
||||
mouse_layer {
|
||||
bindings = <
|
||||
&none &none &none &none &none &none &mkp LCLK &mkp RCLK &none &none
|
||||
&kp LSHFT &kp LALT &kp LCTRL &kp LGUI &kp RALT &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_UP &mmv MOVE_RIGHT &none
|
||||
&none &none &none &none &none &none &mwh SCROLL_DOWN &mwh SCROLL_UP &none &none
|
||||
&trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
// mouse_layer {
|
||||
// bindings = <
|
||||
// &none &none &none &none &none &none &mkp LCLK &mkp RCLK &none &none
|
||||
// &kp LSHFT &kp LALT &kp LCTRL &mkp LCLK &mkp RCLK &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_UP &mmv MOVE_RIGHT &none
|
||||
// &none &none &none &none &none &mmv SCROLL_LEFT &mwh SCROLL_DOWN &mwh SCROLL_UP &mmv SCROLL_RIGHT &none
|
||||
// &trans &trans &trans &trans &trans &trans
|
||||
// >;
|
||||
// };
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue