Skip to content

Commit

Permalink
move chocowi36.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdmd committed Sep 8, 2024
1 parent fbfe09b commit 376b479
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 90 deletions.
86 changes: 0 additions & 86 deletions config/boards/shields/chocowi36/chocowi36.keymap

This file was deleted.

1 change: 0 additions & 1 deletion config/chocowi36.keymap

This file was deleted.

86 changes: 86 additions & 0 deletions config/chocowi36.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>

#include <dt-bindings/zmk/ext_power.h>

#define DEF 0
#define LWR 1
#define RSE 2
#define ADJ 3

&lt { quick_tap_ms = <220>; };
&mt { quick_tap_ms = <220>; };

/ {
macros {
numdot: numdot {
label = "ZM_numdot";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
wait-ms = <40>;
tap-ms = <40>;
bindings
= <&macro_press &kp LALT>
, <&macro_tap &kp KP_N4 &kp KP_N6>
, <&macro_release &kp LALT>
;
};
grtsgn: grtsgn {
label = "ZM_grtsgn";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
wait-ms = <40>;
tap-ms = <40>;
bindings
= <&macro_press &kp LALT>
, <&macro_tap &kp KP_N6 &kp KP_N2>
, <&macro_release &kp LALT>
;
};
};
};
/ {
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 SEMI
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH
&lt RSE TAB &mt LSHFT SPACE &lt LWR RET &lt LWR ESC &mt RSHFT BSPC &lt RSE DEL
>;
};
lower_layer {
bindings = <
&kp KP_MULTIPLY &kp N7 &kp N8 &kp N9 &kp PLUS &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT
&kp KP_SLASH &kp N4 &kp N5 &kp N6 &kp MINUS &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR
&kp N0 &kp N1 &kp N2 &kp N3 &numdot &kp LG(SPACE) &kp F4 &kp F5 &kp F6 &kp F7
&lt ADJ TAB &trans &trans &trans &trans &lt ADJ DEL
>;
};
raise_layer {
bindings = <
&kp C_VOL_UP &kp PG_UP &kp C_PP &kp HOME &kp C_PAUSE &kp N0 &kp HOME &kp C_PP &kp PG_UP &kp C_VOL_UP
&kp C_VOL_DN &kp LEFT &kp UP &kp DOWN &kp RIGHT &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp C_VOL_DN
&kp C_MUTE &kp PG_DN &kp LG(LS(S)) &kp END &kp C_PLAY &kp N0 &kp END &grtsgn &kp PG_DN &kp C_MUTE
&trans &trans &lt ADJ RET &lt ADJ ESC &trans &trans
>;
};
adjust_layer {
bindings = <
&none &none &none &none &none &none &none &none &none &none
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 4 &bt BT_SEL 3 &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0
&kp KP_NUM &none &none &none &none &none &none &none &none &none
&trans &none &trans &trans &none &trans
>;
};
};
};
3 changes: 0 additions & 3 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ manifest:
remote: urob
revision: main
import: app/west.yml
- name: zmk-helpers
remote: urob
revision: v2 app/west.yml
self:
path: config

0 comments on commit 376b479

Please sign in to comment.