Mouse layer + caps word
This commit is contained in:
parent
8bd9b5fb51
commit
5deeb64d29
3 changed files with 20 additions and 3 deletions
|
@ -6,3 +6,5 @@ CONFIG_ZMK_SLEEP=y
|
||||||
|
|
||||||
# Milliseconds of inactivity before entering deep sleep (default 900000)
|
# 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
|
||||||
|
|
|
@ -8,12 +8,14 @@
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#include <dt-bindings/zmk/outputs.h>
|
#include <dt-bindings/zmk/outputs.h>
|
||||||
|
#include <dt-bindings/zmk/mouse.h>
|
||||||
|
|
||||||
#define BASE_L 0
|
#define BASE_L 0
|
||||||
#define SYM_L 1
|
#define SYM_L 1
|
||||||
#define NAV_L 2
|
#define NAV_L 2
|
||||||
#define NUM_L 3
|
#define NUM_L 3
|
||||||
#define FUN_L 4
|
#define FUN_L 4
|
||||||
|
#define MOUSE_L 5
|
||||||
|
|
||||||
// < { quick_tap_ms = <100>; };
|
// < { quick_tap_ms = <100>; };
|
||||||
|
|
||||||
|
@ -49,6 +51,8 @@
|
||||||
|
|
||||||
COMBO(reset_left, &bootloader, 0 1 2 3, 100)
|
COMBO(reset_left, &bootloader, 0 1 2 3, 100)
|
||||||
COMBO(reset_right, &bootloader, 6 7 8 9, 100)
|
COMBO(reset_right, &bootloader, 6 7 8 9, 100)
|
||||||
|
|
||||||
|
COMBO(caps_word, &caps_word, 10 19, 100)
|
||||||
};
|
};
|
||||||
|
|
||||||
behaviors {
|
behaviors {
|
||||||
|
@ -93,7 +97,7 @@
|
||||||
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
|
&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
|
&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
|
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SINGLE_QUOTE
|
||||||
&mo NAV_L &kp LSHFT &none &none < NUM_L SPACE &mo SYM_L
|
&mo NAV_L &mo MOUSE_L &none &none < NUM_L SPACE &mo SYM_L
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -132,5 +136,14 @@
|
||||||
&trans &trans &trans &trans &trans &trans
|
&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 &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
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,10 +4,12 @@ manifest:
|
||||||
url-base: https://github.com/zmkfirmware
|
url-base: https://github.com/zmkfirmware
|
||||||
- name: andrewjrae
|
- name: andrewjrae
|
||||||
url-base: https://github.com/andrewjrae
|
url-base: https://github.com/andrewjrae
|
||||||
|
- name: ftc
|
||||||
|
url-base: https://github.com/ftc
|
||||||
projects:
|
projects:
|
||||||
- name: zmk
|
- name: zmk
|
||||||
remote: zmkfirmware
|
remote: ftc
|
||||||
# revision: global-quick-tap
|
revision: mouse-ftc
|
||||||
import: app/west.yml
|
import: app/west.yml
|
||||||
self:
|
self:
|
||||||
path: config
|
path: config
|
||||||
|
|
Loading…
Reference in a new issue