Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuxy committed Oct 11, 2024
1 parent af23072 commit 5d3e7e6
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
if: always() && !cancelled()
needs: build


generate_keymaps:
runs-on: ubuntu-latest
steps:
Expand All @@ -32,12 +31,11 @@ jobs:
export PATH=$PATH:~/.local/bin # Ensure pipx is in PATH
- name: Install keymap-drawer using pipx
run: |
pipx install keymap-drawer # Replace with the correct package name if different
- name: Generate keymaps
pipx install keymap-drawer
- name: Generate keymap
run: |
for file in john_doe/*.json; do
pipx run keymap-drawer -c 12 "$file" # Use pipx to run the installed keymap-drawer
done
pipx run keymap -c 12 -q keyboards/crkbd/keymap.json > pre-draw-phase.yml
pipx run keymap draw pre-draw-phase.yml > layout.svg
- name: Commit and push changes
run: |
Expand All @@ -48,3 +46,4 @@ jobs:
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

187 changes: 187 additions & 0 deletions keyboards/crkbd/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
{
"version": 1,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "crkbd/rev1",
"keymap": "crkbd_rev1_dot.keyboard",
"layout": "LAYOUT_split_3x6_3",
"layers": [
[
"KC_TAB",
"KC_Q",
"KC_W",
"KC_E",
"KC_R",
"KC_T",
"KC_Y",
"KC_U",
"KC_I",
"KC_O",
"KC_P",
"KC_BSPC",
"KC_LCTL",
"KC_A",
"KC_S",
"KC_D",
"KC_F",
"KC_G",
"KC_H",
"KC_J",
"KC_K",
"KC_L",
"KC_SCLN",
"KC_QUOT",
"KC_LSFT",
"KC_Z",
"KC_X",
"KC_C",
"KC_V",
"KC_B",
"KC_N",
"KC_M",
"KC_COMM",
"KC_DOT",
"KC_SLSH",
"KC_ESC",
"KC_LGUI",
"MO(1)",
"KC_SPC",
"KC_ENT",
"MO(2)",
"KC_RALT"
],
[
"KC_TAB",
"KC_1",
"KC_2",
"KC_3",
"KC_4",
"KC_5",
"KC_6",
"KC_7",
"KC_8",
"KC_9",
"KC_0",
"KC_BSPC",
"KC_LCTL",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_LEFT",
"KC_DOWN",
"KC_UP",
"KC_RGHT",
"KC_NO",
"KC_NO",
"KC_LSFT",
"KC_F1",
"KC_F2",
"KC_F3",
"KC_F4",
"KC_F5",
"KC_F6",
"KC_F7",
"KC_F8",
"KC_F9",
"KC_F10",
"KC_F11",
"KC_LGUI",
"KC_TRNS",
"KC_SPC",
"KC_ENT",
"MO(3)",
"KC_RALT"
],
[
"KC_TAB",
"KC_EXLM",
"KC_AT",
"KC_HASH",
"KC_DLR",
"KC_PERC",
"KC_CIRC",
"KC_AMPR",
"KC_ASTR",
"KC_LPRN",
"KC_RPRN",
"KC_BSPC",
"KC_LCTL",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_MINS",
"KC_EQL",
"KC_LBRC",
"KC_RBRC",
"KC_BSLS",
"KC_GRV",
"KC_LSFT",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_UNDS",
"KC_PLUS",
"KC_LCBR",
"KC_RCBR",
"KC_PIPE",
"KC_TILD",
"KC_LGUI",
"MO(3)",
"KC_SPC",
"KC_ENT",
"KC_TRNS",
"KC_RALT"
],
[
"QK_BOOT",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"RGB_TOG",
"RGB_HUI",
"RGB_SAI",
"RGB_VAI",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"RGB_MOD",
"RGB_HUD",
"RGB_SAD",
"RGB_VAD",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_LGUI",
"KC_TRNS",
"KC_SPC",
"KC_ENT",
"KC_TRNS",
"KC_RALT"
]
],
"author": ""
}

0 comments on commit 5d3e7e6

Please sign in to comment.