Merge pull request #185 from tominabox1/qaz_update
QAZ shield keymap update
This commit is contained in:
commit
1cf0bad792
5 changed files with 28 additions and 14 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@
|
||||||
/tools
|
/tools
|
||||||
/zephyr
|
/zephyr
|
||||||
/build
|
/build
|
||||||
|
*.DS_Store
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Copyright (c) 2020 TJ Campie
|
# Copyright (c) 2020 The ZMK Contributors
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
if SHIELD_QAZ
|
if SHIELD_QAZ
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Copyright (c) 2020 TJ Campie
|
# Copyright (c) 2020 The ZMK Contributors
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
config SHIELD_MY_BOARD
|
config SHIELD_QAZ
|
||||||
def_bool $(shields_list_contains,qaz)
|
def_bool $(shields_list_contains,qaz)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020 TJ Campie
|
* Copyright (c) 2020 The ZMK Contributors
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -11,7 +11,20 @@
|
||||||
#define DEFAULT 0
|
#define DEFAULT 0
|
||||||
#define NUM_SYM 1
|
#define NUM_SYM 1
|
||||||
#define NAV 2
|
#define NAV 2
|
||||||
|
|
||||||
|
/ {
|
||||||
|
behaviors {
|
||||||
|
hm: homerow_mods {
|
||||||
|
compatible = "zmk,behavior-hold-tap";
|
||||||
|
label = "homerow mods";
|
||||||
|
#binding-cells = <2>;
|
||||||
|
tapping_term_ms = <225>;
|
||||||
|
flavor = "tap-preferred";
|
||||||
|
bindings = <&kp>, <&kp>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
keymap {
|
keymap {
|
||||||
compatible = "zmk,keymap";
|
compatible = "zmk,keymap";
|
||||||
|
@ -19,9 +32,9 @@
|
||||||
default_layer {
|
default_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
|
||||||
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp RET
|
&hm LGUI A &hm LALT S &hm LCTL D &hm LSFT F &kp G &kp H &hm RSFT J &hm RCTL K &hm RALT L &hm RGUI RET
|
||||||
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT
|
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT
|
||||||
&kp LSFT &kp LGUI &kp LALT &mo NAV &kp SPC &mo NUM_SYM &kp QUOT &kp FSLH
|
&kp LSFT &kp LGUI &kp LALT < NAV RET < NUM_SYM SPC &kp COLN &kp QUOT &kp FSLH
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
num_sym {
|
num_sym {
|
||||||
|
@ -38,7 +51,7 @@
|
||||||
&bt BT_CLR &bt BT_NXT &bt BT_PRV &none &none &none &none &kp UARW &none &kp BKSP
|
&bt BT_CLR &bt BT_NXT &bt BT_PRV &none &none &none &none &kp UARW &none &kp BKSP
|
||||||
&trans &trans &trans &trans &none &none &kp LARW &kp DARW &kp RARW &none
|
&trans &trans &trans &trans &none &none &kp LARW &kp DARW &kp RARW &none
|
||||||
&none &none &none &none &none &none &none &none &none
|
&none &none &none &none &none &none &none &none &none
|
||||||
&none &none &none &none &none &trans &trans &kp RET &trans &kp FSLH
|
&none &none &none &trans &trans &kp RET &trans &kp FSLH
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020 TJ Campie
|
* Copyright (c) 2020 The ZMK Contributors
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue