Skip to content

Commit 9b5b3a6

Browse files
committed
Initial User Config.
0 parents  commit 9b5b3a6

File tree

7 files changed

+121
-0
lines changed

7 files changed

+121
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
on: [push, pull_request, workflow_dispatch]
2+
3+
jobs:
4+
build:
5+
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main

boards/shields/.gitkeep

Whitespace-only changes.

build.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This file generates the GitHub Actions matrix.
2+
# For simple board + shield combinations, add them to the top level board and
3+
# shield arrays, for more control, add individual board + shield combinations
4+
# to the `include` property. You can also use the `cmake-args` property to
5+
# pass flags to the build command and `artifact-name` to assign a name to
6+
# distinguish build outputs from each other:
7+
#
8+
# board: [ "nice_nano_v2" ]
9+
# shield: [ "corne_left", "corne_right" ]
10+
# include:
11+
# - board: bdn9_rev2
12+
# - board: nice_nano_v2
13+
# shield: reviung41
14+
# - board: nice_nano_v2
15+
# shield: corne_left
16+
# cmake-args: -DCONFIG_ZMK_USB_LOGGING=y
17+
# artifact-name: corne_left_with_logging
18+
#
19+
---
20+
include:
21+
- board: nice_nano_v2
22+
shield: lily58_left
23+
- board: nice_nano_v2
24+
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+
};

config/west.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
manifest:
2+
remotes:
3+
- name: zmkfirmware
4+
url-base: https://github.com/zmkfirmware
5+
# Additional modules containing boards/shields/custom code can be listed here as well
6+
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects
7+
projects:
8+
- name: zmk
9+
remote: zmkfirmware
10+
revision: main
11+
import: app/west.yml
12+
self:
13+
path: config

zephyr/module.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build:
2+
settings:
3+
board_root: .

0 commit comments

Comments
 (0)