diff options
| author | Pete Johanson <peter@peterjohanson.com> | 2020-08-28 18:51:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-28 18:51:58 -0400 |
| commit | 14d09e7b07d32f0118b455cd21d91838f554b992 (patch) | |
| tree | f732fc062b0b11d0a510b790eb74d963fbbb06d5 /app/boards/shields/qaz/qaz.keymap | |
| parent | 6cd46b95045a71570af7923f85449f223d976bdf (diff) | |
| parent | 887ba47cbe173ff65204b6f454e4070768994abf (diff) | |
Merge pull request #130 from tominabox1/shield_qaz
[Keyboard] Add QAZ Shield
Diffstat (limited to 'app/boards/shields/qaz/qaz.keymap')
| -rw-r--r-- | app/boards/shields/qaz/qaz.keymap | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app/boards/shields/qaz/qaz.keymap b/app/boards/shields/qaz/qaz.keymap new file mode 100644 index 0000000..ffa2f6c --- /dev/null +++ b/app/boards/shields/qaz/qaz.keymap @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2020 TJ Campie + * + * SPDX-License-Identifier: MIT + */ + +#include <behaviors.dtsi> +#include <dt-bindings/zmk/keys.h> + +#define DEFAULT 0 +#define NUM_SYM 1 +#define NAV 2 + +/ { + keymap { + compatible = "zmk,keymap"; + + default_layer { + bindings = < + &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 + &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 + >; + }; + num_sym { + bindings = < + &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 + &trans &trans &trans &trans &trans &trans &trans &trans &kp EQL &kp MINUS + &kp DEL &none &none &none &none &none &none &none &kp DOT + &bootloader &reset &none &trans &trans &kp RET &trans &kp FSLH + >; + }; + + nav { + bindings = < + &none &none &none &none &none &none &none &kp UARW &none &kp BKSP + &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 &trans &trans &kp RET &trans &kp FSLH + >; + }; + }; +};
\ No newline at end of file |
