Skip to content

Commit

Permalink
[Skean] Update default layer
Browse files Browse the repository at this point in the history
  • Loading branch information
ikzekly committed Aug 18, 2024
1 parent 5bfa437 commit cf81252
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 22 deletions.
21 changes: 1 addition & 20 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,5 @@
#
---
include:
- board: nrfmicro_13
shield: [jorne_left, jorne_right]
name: ["Jorne Blues", "Jorne Brass"]
flags: ["screen"]
- board: nrfmicro_13_52833
shield: [jorne_left, jorne_right]
name: ["Sporne"]
flags: ["screen", "no_mono"]
- board: nrfmicro_13_52833
shield: [jorne_left, jorne_right]
name: ["RT-22"]
- board: nrfmicro_13_52833
shield: radpad
- board: [jorian840_left, jorian840_right]
name: ["Jorian840 Omron", "Jorian840 Cobalt", "wEnki44"]
- board: [skean_left, skean_right]
name: ["Skean T1", "Skean Alps", "Skean DG", "Skean MA", "Skean Zilent", "Skean i-Rocks"]
- board: [dao_left, dao_right]
- board: [corneish_zen_v1_left, corneish_zen_v1_right]
- board: seeeduino_xiao_ble
shield: [ergonaut_one_left, ergonaut_one_right]
name: ["Skean"]
2 changes: 1 addition & 1 deletion config/skean.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@

CONFIG_ZMK_SLEEP=y
108 changes: 107 additions & 1 deletion config/skean.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,110 @@
* SPDX-License-Identifier: MIT
*/

#include "common_44.keymap"
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/outputs.h>

#define DEF 0
#define LWR 1
#define RSE 2
#define ADJ 3
#define GME 4
#define GLR 5

&lt { quick-tap-ms = <200>; };
&mt { quick-tap-ms = <200>; };

/ {
keymap {
compatible = "zmk,keymap";

default_layer {
display-name = "MAIN";
// -------------------------------------------------------------------------------------------------
// | ESC | [ | Q | W | E | R | T | | Y | U | I | O | P | ] | BKSP |
// | TAB | A | S | D | F | G | | H | J | K | L | ; | ' |
// | LALT | Z | X | C | V | B | | N | M | , | . | / | \ |
// | CTRL | RSE | LWR | | LWR | RSE | CMD |
bindings = <
&kp ESC &kp LBKT &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp RBKT &kp BSPC
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&mt LALT GRAVE &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp BSLH
&mt LCTRL TILDE &lt RSE LSHFT &lt LWR SPACE &lt LWR RET &lt RSE RSHFT &kp RCMD
>;
};
lower_layer {
display-name = "SYM";
// -----------------------------------------------------------------------------------------
// | | _ | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
// | + | ! | @ | # | $ | % | | ^ | & | * | ( | ) | - |
// | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
// | GUI | | SPC | | ENT | | ALT |
bindings = <
&trans &kp UNDER &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &mt RGUI F12
&mt LCTRL PLUS &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &mt RCTRL MINUS
&mt LALT EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&lt ADJ TAB &trans &trans &trans &trans &lt ADJ DEL
>;
};

raise_layer {
display-name = "NUM";
// -----------------------------------------------------------------------------------------
// | | NMLK | / | 7 | 8 | 9 | - | | VOLU| HOME| PRSC| PGUP| SCLK| CLCK| |
// | CTRL | * | 4 | 5 | 6 | + | | MUT | LEFT| UP | RGHT| INS | APP |
// | | 0 | 1 | 2 | 3 | . | | VOLD| END | DOWN| PGDN| PAUS| |
// | | | ADJ | | ADJ | | |
bindings = <
&trans &kp KP_NUM &kp KP_SLASH &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp C_VOL_UP &kp HOME &kp PSCRN &kp PG_UP &kp SLCK &kp CAPS &trans
&mt LCTRL EQUAL &kp KP_MULTIPLY &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp C_MUTE &kp LEFT &kp UP &kp RIGHT &kp INS &mt RCTRL K_APP
&trans &kp KP_N0 &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_DOT &kp C_VOL_DN &kp END &kp DOWN &kp PG_DN &kp PAUSE_BREAK &trans
&trans &trans &lt ADJ RET &lt ADJ ESC &trans &trans
>;
};
adjust_layer {
label = "ADJ";
// -----------------------------------------------------------------------------------------
// | RST | BLDR | | | | | | | | | | | | BLDR | RST |
// | BTCLR| BT0 | BT1 | BT2 | BT3 | BT4 | | BT4 | BT3 | BT2 | BT1 | BT0 | BTCLR|
// | | | | | | | | | | | | | |
// | | | | | | | |
bindings = <
&sys_reset &bootloader &none &none &none &none &none &none &none &none &none &none &bootloader &sys_reset
&bt BT_CLR &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 &bt BT_CLR
&out OUT_TOG &tog GME &ext_power EP_TOG &none &none &none &none &none &none &ext_power EP_TOG &tog GME &out OUT_TOG
&trans &none &trans &trans &none &trans
>;
};
gaming_layer {
label = "GAME";
// -----------------------------------------------------------------------------------------
// | GUI | ~ | Q | W | E | R | T | | Y | U | I | O | P | [ | GUI/] |
// | CTRL | A | S | D | F | G | | H | J | K | L | ; |CTRL/'|
// | LALT | Z | X | C | V | B | | N | M | , | . | / | RALT |
// | RSE | SPC | LWR | | LWR | BKSP | RSE |
bindings = <
&kp TAB &kp RET &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC &mt RWIN RBKT
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &mt RCTRL SQT
&kp LALT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &tog GME &mt RALT BSLH
&kp SPACE &kp LSHFT &mo GLR &kp ESC &kp RSHFT &kp DEL
>;
};
gaming_lower_layer {
display-name = "GNUM";
// -----------------------------------------------------------------------------------------
// | | _ | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
// | + | ! | @ | # | $ | % | | ^ | & | * | ( | ) | - |
// | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
// | GUI | | SPC | | ENT | | ALT |
bindings = <
&trans &kp GRAVE &kp F8 &kp F9 &kp F10 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &mt RGUI F12
&mt LCTRL PLUS &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &mt RCTRL MINUS
&mt LALT EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &trans &trans &trans &trans &trans
>;
};
};
};

0 comments on commit cf81252

Please sign in to comment.