Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Build ZMK firmware
on: [push, pull_request, workflow_dispatch]

jobs:
build:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@v0.3.0
10 changes: 10 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
include:
- board: nice_nano
shield: crosses_left
artifact-name: crosses_36_left
- board: nice_nano
shield: crosses_right
artifact-name: crosses_36_right
snippet: studio-rpc-usb-uart
cmake-args: -DCONFIG_ZMK_STUDIO=y
2 changes: 2 additions & 0 deletions config/crosses.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Uncomment the following line to enable OLED Displays
CONFIG_ZMK_DISPLAY=y
63 changes: 63 additions & 0 deletions config/crosses.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/pointing.h>

/ {
chosen { zmk,physical-layout = &gggw_crosses_36_layout; };

behaviors {
as: auto_shift {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping_term_ms = <200>;
quick_tap_ms = <0>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
};

keymap {
compatible = "zmk,keymap";

default_layer {
display-name = "Base";
bindings = <
&as Q LS(Q) &as W LS(W) &as E LS(E) &as R LS(R) &as T LS(T) &as Y LS(Y) &as U LS(U) &as I LS(I) &as O LS(O) &as P LS(P)
&as A LS(A) &as S LS(S) &as D LS(D) &as F LS(F) &as G LS(G) &as H LS(H) &as J LS(J) &as K LS(K) &as L LS(L) &as SQT LS(SQT)
&as Z LS(Z) &as X LS(X) &as C LS(C) &as V LS(V) &as B LS(B) &as N LS(N) &as M LS(M) &kp RCTRL &kp RALT &as DOT LS(DOT)
&lt 3 LEFT_GUI &mo 1 &kp SPACE &kp RET &mo 2 &kp BSPC
>;
};

lower_layer {
display-name = "Lower";
bindings = <
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
&bt BT_CLR &trans &trans &trans &trans &trans &trans &trans &trans &trans
&kp LGUI &trans &kp SPACE &kp RET &kp ESC &kp TAB
>;
};

raise_layer {
display-name = "Raise";
bindings = <
&as N1 EXCL &as N2 AT &as N3 HASH &as N4 DOLLAR &as N5 PERCENT &as N6 CARET &as N7 AMPS &as N8 ASTRK &as N9 LEFT_PARENTHESIS &as N0 RIGHT_PARENTHESIS
&as MINUS UNDER &as EQUAL PLUS &kp LBRC &kp LBKT &kp LPAR &kp RPAR &kp RBKT &kp RBRC &as FSLH QUESTION &as BSLH PIPE
&as GRAVE TILDE &trans &trans &as COMMA LESS_THAN &kp COLON &kp SEMI &as DOT GREATER_THAN &kp LCTRL &kp RALT &trans
&kp LGUI &kp ESC &kp SPACE &kp RET &trans &kp TAB
>;
};

mouse_layer {
display-name = "Mouse";
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &mkp RCLK &mkp MCLK &mkp LCLK &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};
};
};
50 changes: 50 additions & 0 deletions config/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"id": "crosses",
"name": "crosses",
"layouts": {
"gggw_crosses_36_layout": {
"layout": [
{"row": 0, "col": 0, "x": 0.0, "y": 1.12 },
{"row": 0, "col": 1, "x": 1.0, "y": 0.62 },
{"row": 0, "col": 2, "x": 2.0, "y": 0.0 },
{"row": 0, "col": 3, "x": 3.0, "y": 0.25 },
{"row": 0, "col": 4, "x": 4.0, "y": 0.38 },
{"row": 0, "col": 5, "x": 8.12, "y": 0.38 },
{"row": 0, "col": 6, "x": 9.12, "y": 0.25 },
{"row": 0, "col": 7, "x": 10.12, "y": 0.0 },
{"row": 0, "col": 8, "x": 11.12, "y": 0.62 },
{"row": 0, "col": 9, "x": 12.12, "y": 1.12 },

{"row": 1, "col": 0, "x": 0.0, "y": 2.12 },
{"row": 1, "col": 1, "x": 1.0, "y": 1.62 },
{"row": 1, "col": 2, "x": 2.0, "y": 1.0 },
{"row": 1, "col": 3, "x": 3.0, "y": 1.25 },
{"row": 1, "col": 4, "x": 4.0, "y": 1.38 },
{"row": 1, "col": 5, "x": 8.12, "y": 1.38 },
{"row": 1, "col": 6, "x": 9.12, "y": 1.25 },
{"row": 1, "col": 7, "x": 10.12, "y": 1.0 },
{"row": 1, "col": 8, "x": 11.13, "y": 1.62 },
{"row": 1, "col": 9, "x": 12.12, "y": 2.12 },

{"row": 2, "col": 0, "x": 0.0, "y": 3.12 },
{"row": 2, "col": 1, "x": 1.0, "y": 2.62 },
{"row": 2, "col": 2, "x": 2.0, "y": 2.0 },
{"row": 2, "col": 3, "x": 3.0, "y": 2.25 },
{"row": 2, "col": 4, "x": 4.0, "y": 2.38 },
{"row": 2, "col": 5, "x": 8.12, "y": 2.38 },
{"row": 2, "col": 6, "x": 9.12, "y": 2.25 },
{"row": 2, "col": 7, "x": 10.12, "y": 2.0 },
{"row": 2, "col": 8, "x": 11.12, "y": 2.62 },
{"row": 2, "col": 9, "x": 12.12, "y": 3.12 },

{"row": 3, "col": 2, "x": 2.5, "y": 3.72 },
{"row": 3, "col": 3, "x": 3.5, "y": 3.72 },
{"row": 3, "col": 4, "x": 4.5, "y": 3.72 },
{"row": 3, "col": 5, "x": 7.5, "y": 3.72 },
{"row": 3, "col": 6, "x": 8.5, "y": 3.72 },
{"row": 3, "col": 7, "x": 9.5, "y": 3.72 }
]
}
},
"sensors": []
}
18 changes: 18 additions & 0 deletions config/west.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
manifest:
defaults:
revision: main
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: Good-Great-Grand-Wonderful
url-base: https://github.com/Good-Great-Grand-Wonderful
projects:
- name: zmk
remote: zmkfirmware
import: app/west.yml
- name: gggw-zmk-keebs
remote: Good-Great-Grand-Wonderful
revision: zephyr-4.1
import: config/west.yml
self:
path: config
Loading
Loading