-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6c7972a
Showing
7 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
on: [push, pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This file generates the GitHub Actions matrix. | ||
# For simple board + shield combinations, add them to the top level board and | ||
# shield arrays, for more control, add individual board + shield combinations | ||
# to the `include` property. You can also use the `cmake-args` property to | ||
# pass flags to the build command and `artifact-name` to assign a name to | ||
# distinguish build outputs from each other: | ||
# | ||
# board: [ "nice_nano_v2" ] | ||
# shield: [ "corne_left", "corne_right" ] | ||
# include: | ||
# - board: bdn9_rev2 | ||
# - board: nice_nano_v2 | ||
# shield: reviung41 | ||
# - board: nice_nano_v2 | ||
# shield: corne_left | ||
# cmake-args: -DCONFIG_ZMK_USB_LOGGING=y | ||
# artifact-name: corne_left_with_logging | ||
# | ||
--- | ||
include: | ||
- board: nice_nano_v2 | ||
shield: cradio_left | ||
- board: nice_nano_v2 | ||
shield: cradio_right |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// Copyright (c) 2022 The ZMK Contributors | ||
// SPDX-License-Identifier: MIT | ||
|
||
#include <behaviors.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
#include <dt-bindings/zmk/bt.h> | ||
|
||
// Home row mods macro | ||
#define HRML(k1,k2,k3,k4) &ht LSHFT k1 &ht LALT k2 &ht LCTRL k3 &ht LGUI k4 | ||
#define HRMR(k1,k2,k3,k4) &ht RGUI k1 &ht RCTRL k2 &ht RALT k3 &ht RSHFT k4 | ||
|
||
/ { | ||
behaviors { | ||
ht: hold_tap { | ||
compatible = "zmk,behavior-hold-tap"; | ||
#binding-cells = <2>; | ||
flavor = "tap-preferred"; | ||
tapping-term-ms = <220>; | ||
quick-tap-ms = <150>; | ||
require-prior-idle-ms = <100>; | ||
bindings = <&kp>, <&kp>; | ||
}; | ||
}; | ||
|
||
conditional_layers { | ||
compatible = "zmk,conditional-layers"; | ||
tri_layer { | ||
if-layers = <1 2>; | ||
then-layer = <3>; | ||
}; | ||
}; | ||
|
||
keymap { | ||
compatible = "zmk,keymap"; | ||
default_layer { | ||
bindings = < | ||
//โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ | ||
//โ Q โ W โ E โ R โ T โ โ Y โ U โ I โ O โ P โ | ||
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ A โ S โ D โ F โ G โ โ H โ J โ K โ L โ ' " โ | ||
HRML(A, S, D, F) &kp G &kp H HRMR(J, K, L, SQT) | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ Z โ X โ C โ V โ B โ โ N โ M โ , < โ . > โ / ? โ | ||
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH | ||
//โฐโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
< 2 TAB &kp ENTER &kp SPACE < 1 BSPC | ||
// โฐโโโโโโโโโโโดโโโโโโโโโโโฏ โฐโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
>; | ||
}; | ||
|
||
right_layer { | ||
bindings = < | ||
//โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ | ||
//โ INSERT โ 1 โ 2 โ 3 โ โ โ HOME โ PAGE DN โ PAGE UP โ END โ : โ | ||
&kp INS &kp N1 &kp N2 &kp N3 &trans &kp HOME &kp PG_DN &kp PG_UP &kp END &kp COLON | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ DELETE โ 4 โ 5 โ 6 โ โ โ LEFT โ DOWN โ UP โ RIGHT โ ; โ | ||
&kp DEL &kp N4 &kp N5 &kp N6 &trans &kp LARW &kp DARW &kp UARW &kp RARW &kp SEMI | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ CAPS โ 7 โ 8 โ 9 โ 0 โ โ โ โ โ โ โ | ||
&caps_word &kp N7 &kp N8 &kp N9 &kp N0 &trans &trans &trans &trans &trans | ||
//โฐโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
&trans &kp ESC &trans &trans | ||
// โฐโโโโโโโโโโโดโโโโโโโโโโโฏ โฐโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
>; | ||
}; | ||
|
||
left_layer { | ||
bindings = < | ||
//โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ | ||
//โ โ [ โ { โ } โ โ โ ^ โ ( โ ) โ ] โ ~ โ | ||
&trans &kp LBKT &kp LBRC &kp RBRC &trans &kp CARET &kp LPAR &kp RPAR &kp RBKT &kp TILDE | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ ! โ @ โ # โ $ โ % โ โ * โ - โ = โ \ โ ` โ | ||
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp ASTRK &kp MINUS &kp EQUAL &kp BSLH &kp GRAVE | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ โ โ โ โ โ โ & โ _ โ + โ โ โ โ | ||
&trans &trans &trans &trans &trans &kp AMPS &kp UNDER &kp PLUS &kp PIPE &trans | ||
//โฐโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
&trans &trans &trans &trans | ||
// โฐโโโโโโโโโโโดโโโโโโโโโโโฏ โฐโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
>; | ||
}; | ||
|
||
tri_layer { | ||
bindings = < | ||
//โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ โญโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฎ | ||
//โ RESET โ โ โ โPROFILE 0 โ โ โ โ โ โ RESET โ | ||
&sys_reset &trans &trans &trans &bt BT_SEL 0 &trans &trans &trans &trans &sys_reset | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โBOOTLOADERโ โ โ โPROFILE 1 โ โ โ โ โ โBOOTLOADERโ | ||
&bootloader &trans &trans &trans &bt BT_SEL 1 &trans &trans &trans &trans &bootloader | ||
//โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค | ||
//โ โ โ โ CLEAR BT โPROFILE 2 โ โ โ โ โ โ โ | ||
&trans &trans &trans &bt BT_CLR &bt BT_SEL 2 &trans &trans &trans &trans &trans | ||
//โฐโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค โโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
&trans &trans &trans &trans | ||
// โฐโโโโโโโโโโโดโโโโโโโโโโโฏ โฐโโโโโโโโโโโดโโโโโโโโโโโฏ | ||
>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
manifest: | ||
remotes: | ||
- name: zmkfirmware | ||
url-base: https://github.com/zmkfirmware | ||
# Additional modules containing boards/shields/custom code can be listed here as well | ||
# See https://docs.zephyrproject.org/3.2.0/develop/west/manifest.html#projects | ||
projects: | ||
- name: zmk | ||
remote: zmkfirmware | ||
revision: main | ||
import: app/west.yml | ||
self: | ||
path: config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
build: | ||
settings: | ||
board_root: . |