Skip to content

Commit bdc0ef5

Browse files
committed
Added keyboard
1 parent 59bc739 commit bdc0ef5

4 files changed

Lines changed: 83 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
.zmk/

build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@
1818
# artifact-name: corne_left_with_studio
1919
#
2020
---
21+
include:
22+
- board: nice_nano_v2
23+
shield: lily58_left
24+
- board: nice_nano_v2
25+
shield: lily58_right

config/lily58.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Uncomment to enable encoder
2+
# CONFIG_EC11=y
3+
# CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
4+
5+
# Uncomment the following line to enable the Lily58 OLED Display
6+
# CONFIG_ZMK_DISPLAY=y

config/lily58.keymap

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
/*
2+
* Copyright (c) 2020 The ZMK Contributors
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
7+
#include <behaviors.dtsi>
8+
#include <dt-bindings/zmk/keys.h>
9+
#include <dt-bindings/zmk/bt.h>
10+
#include <dt-bindings/zmk/ext_power.h>
11+
12+
/ {
13+
keymap {
14+
compatible = "zmk,keymap";
15+
16+
default_layer {
17+
// ------------------------------------------------------------------------------------------------------------
18+
// | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
19+
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | - |
20+
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
21+
// | SHIFT | Z | X | C | V | B | "[" | | "]" | N | M | , | . | / | SHIFT |
22+
// | ALT | GUI | LOWER| SPACE | | ENTER | RAISE| BSPC | GUI |
23+
bindings = <
24+
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp GRAVE
25+
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
26+
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
27+
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
28+
&kp LALT &kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC &kp RGUI
29+
>;
30+
31+
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
32+
};
33+
34+
lower_layer {
35+
// ------------------------------------------------------------------------------------------------------------
36+
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
37+
// | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
38+
// | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | ~ |
39+
// | | | | | | | | | | | _ | + | { | } | "|" |
40+
// | | | | | | | | | |
41+
bindings = <
42+
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans
43+
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
44+
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp TILDE
45+
&trans &ext_power EP_ON &ext_power EP_OFF &ext_power EP_TOG &trans &trans &trans &trans &trans &kp MINUS &kp PLUS &kp LBRC &kp RBRC &kp PIPE
46+
&trans &trans &trans &trans &trans &trans &trans &trans
47+
>;
48+
49+
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
50+
};
51+
52+
raise_layer {
53+
// ------------------------------------------------------------------------------------------------------------
54+
// | | | | | | | | | | | | | |
55+
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
56+
// | F1 | F2 | F3 | F4 | F5 | F6 | | | <- | v | ^ | -> | |
57+
// | F7 | F8 | F9 | F10 | F11 | F12 | | | | + | - | = | [ | ] | \ |
58+
// | | | | | | | | | |
59+
bindings = <
60+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
61+
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
62+
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
63+
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &trans &kp KP_PLUS &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH
64+
&trans &trans &trans &trans &trans &trans &trans &trans
65+
>;
66+
67+
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
68+
};
69+
};
70+
};

0 commit comments

Comments
 (0)