Compare commits
4 commits
61b60da4c0
...
5deeb64d29
Author | SHA1 | Date | |
---|---|---|---|
5deeb64d29 | |||
8bd9b5fb51 | |||
d3c12b97b3 | |||
4e6f935815 |
3 changed files with 29 additions and 17 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,16 +8,16 @@
|
||||||
#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>
|
||||||
&caps_word {
|
|
||||||
continue-list = <UNDERSCORE MINUS BSPC>;
|
|
||||||
};
|
|
||||||
|
|
||||||
#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>; };
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
combos {
|
combos {
|
||||||
|
@ -39,9 +39,6 @@
|
||||||
╰───────╮ 30 31 32 │ │ 33 34 35 ╭───────╯
|
╰───────╮ 30 31 32 │ │ 33 34 35 ╭───────╯
|
||||||
╰────────────╯ ╰────────────╯ */
|
╰────────────╯ ╰────────────╯ */
|
||||||
|
|
||||||
//COMBO(caps_word_right, &caps_word, 26 27, 60)
|
|
||||||
//COMBO(caps_word_left, &caps_word, 22 23, 60)
|
|
||||||
|
|
||||||
//COMBO(colon, &kp COLON, 7 8, 60)
|
//COMBO(colon, &kp COLON, 7 8, 60)
|
||||||
//COMBO(semicolon, &kp SEMI, 27 28, 60)
|
//COMBO(semicolon, &kp SEMI, 27 28, 60)
|
||||||
//COMBO(slash, &kp FSLH, 1 2, 60)
|
//COMBO(slash, &kp FSLH, 1 2, 60)
|
||||||
|
@ -54,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 {
|
||||||
|
@ -95,10 +94,10 @@
|
||||||
|
|
||||||
base_layer {
|
base_layer {
|
||||||
bindings = <
|
bindings = <
|
||||||
&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 &mo NUM_L &none &kp SPACE &mo SYM_L
|
&mo NAV_L &mo MOUSE_L &none &none < NUM_L SPACE &mo SYM_L
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -113,10 +112,10 @@
|
||||||
|
|
||||||
nav_layer {
|
nav_layer {
|
||||||
bindings = <
|
bindings = <
|
||||||
&kp TAB &none &kp C_VOL_UP &kp C_VOL_DN &kp C_MUTE &none &none &none &none &bootloader
|
&none &none &kp C_VOL_UP &kp C_VOL_DN &kp C_MUTE &none &none &kp TAB &none &bootloader
|
||||||
&kp LSHFT &kp LALT &kp LCTRL &kp LGUI &kp BACKSPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT &none
|
&kp LSHFT &kp LALT &kp LCTRL &kp LGUI &kp BACKSPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT &none
|
||||||
&out OUT_TOG &bt BT_SEL 3 &bt BT_SEL 2 &bt BT_CLR &kp PRINTSCREEN &none &kp PG_DN &kp PG_UP &none &kp RETURN
|
&out OUT_TOG &bt BT_SEL 3 &bt BT_SEL 2 &bt BT_CLR &kp PRINTSCREEN &kp HOME &kp PG_DN &kp PG_UP &kp END &kp RETURN
|
||||||
&trans &trans &trans &trans &trans &trans
|
&trans &trans &trans &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -137,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