Skip to content

Commit bd35d59

Browse files
committed
Initial User Config.
0 parents  commit bd35d59

File tree

7 files changed

+146
-0
lines changed

7 files changed

+146
-0
lines changed

.github/workflows/build.yml

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

boards/shields/.gitkeep

Whitespace-only changes.

build.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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, `snippet` to add a Zephyr snippet, and
6+
# `artifact-name` to assign a name to 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+
# snippet: studio-rpc-usb-uart
17+
# cmake-args: -DCONFIG_ZMK_STUDIO=y
18+
# artifact-name: corne_left_with_studio
19+
#
20+
---
21+
include:
22+
- board: nice_nano_v2
23+
shield: helix_left
24+
- board: nice_nano_v2
25+
shield: helix_right

config/helix.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2020 The ZMK Contributors
2+
# SPDX-License-Identifier: MIT
3+
4+
# Enables RGB functionality (Uncomment lines below to enable.)
5+
# CONFIG_ZMK_RGB_UNDERGLOW=y
6+
# CONFIG_WS2812_STRIP=y

config/helix.keymap

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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/rgb.h>
11+
#include <dt-bindings/zmk/ext_power.h>
12+
#include <dt-bindings/zmk/outputs.h>
13+
14+
#define DEFAULT 0
15+
#define LOWER 1
16+
#define RAISE 2
17+
#define ADJUST 3
18+
19+
/* NOTE: At the time of the creation of this keymap, there are no specified codes for 'eisuu' and 'kana' input in ZMK.
20+
However, 'LANG1' and 'LANG2' are fully-functioning candidates for 'kana' and 'eisuu' input respectively.
21+
As such, those are in use within the default layer at this time.*/
22+
23+
/ {
24+
keymap {
25+
compatible = "zmk,keymap";
26+
27+
default_layer {
28+
display-name = "Default Layer";
29+
// ---------------------------------------------------------------------------------------------------------------------------------
30+
// | GRAVE | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
31+
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | BSPC |
32+
// | CTRL | A | S | D | F | G | | H | J | K | L | ; | ' |
33+
// | SHIFT | Z | X | C | V | B | LBKT | | RBKT | N | M | , | . | / | RET |
34+
// | ADJUST | ESC | ALT | LGUI | EISUU | LOWER | SPACE | | SPACE | RAISE | KANA | LEFT | DOWN | UP | RIGHT |
35+
bindings = <
36+
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp DEL
37+
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
38+
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
39+
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp LBKT &kp RBKT &kp N &kp M &kp COMMA &kp PERIOD &kp SLASH &kp RET
40+
&mo ADJUST &kp ESC &kp LALT &kp LGUI &kp LANG2 &mo LOWER &kp SPACE &kp SPACE &mo RAISE &kp LANG1 &kp LEFT &kp DOWN &kp UP &kp RIGHT
41+
>;
42+
};
43+
lower_layer {
44+
display-name = "Lower Layer";
45+
// ---------------------------------------------------------------------------------------------------------------------------------
46+
// | | | | | | | | | | | | | |
47+
// | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | |
48+
// | | | | | | | | | _ | + | { | } | PIPE |
49+
// | | | | | | | ( | | ) | | | | HOME | END | |
50+
// | | | | | | | | | | | | | | | |
51+
bindings = <
52+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
53+
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &trans
54+
&trans &trans &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE
55+
&trans &trans &trans &trans &trans &trans &kp LPAR &kp RPAR &trans &trans &trans &kp HOME &kp END &trans
56+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
57+
>;
58+
};
59+
raise_layer {
60+
display-name = "Raise Layer";
61+
// ---------------------------------------------------------------------------------------------------------------------------------
62+
// | | | | | | | | | | | | | |
63+
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | DEL |
64+
// | | F1 | F2 | F3 | F4 | F5 | | F6 | - | = | [ | ] | \ |
65+
// | | F7 | F8 | F9 | F10 | F11 | | | | F12 | | PSCRN | PG_DN | PG_UP | |
66+
// | | | | | | | | | | | | NEXT | VOL- | VOL+ | PLAY |
67+
bindings = <
68+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
69+
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp DEL
70+
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH
71+
&trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &trans &trans &kp F12 &trans &kp PSCRN &kp PG_DN &kp PG_UP &trans
72+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP &kp C_PP
73+
>;
74+
};
75+
adjust_layer {
76+
display-name = "Adjust Layer";
77+
// ---------------------------------------------------------------------------------------------------------------------------------
78+
// | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | EP TOG |
79+
// | BT CLR | BT SEL0 | BT SEL1 | BT SEL2 | BGT SEL3 | BT SEL4 | | RGB EFF+ | RGB HUE+ | RGB SAT+ | RGB SPD+ | RGB BRI+ | RGB TOG |
80+
// | BT NXT | OUT TOG | OUT USB | OUT BLE | | | | RGB EFF- | RGB HUE- | RGB SAT- | RGB SPD- | RGB BRI- | |
81+
// | BT PRV | | | | | | { | | } | | | | | | |
82+
// | | | | | | | | | | | | | | | |
83+
bindings = <
84+
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &ext_power EP_TOG
85+
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &rgb_ug RGB_EFF &rgb_ug RGB_HUI &rgb_ug RGB_SAI &rgb_ug RGB_SPI &rgb_ug RGB_BRI &rgb_ug RGB_TOG
86+
&bt BT_NXT &out OUT_TOG &out OUT_USB &out OUT_BLE &trans &trans &rgb_ug RGB_EFR &rgb_ug RGB_HUD &rgb_ug RGB_SAD &rgb_ug RGB_SPD &rgb_ug RGB_BRD &trans
87+
&bt BT_PRV &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &trans &trans &trans &trans &trans &trans
88+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
89+
>;
90+
};
91+
};
92+
};

config/west.yml

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