Skip to content

Commit

Permalink
Artifacts Building (#2)
Browse files Browse the repository at this point in the history
The QMK CLI has a nice `json2c` command that will auto generate the keymap.c file for you from the configurator. Copying and pasting this value for now seems to work and including it into the keymap.c file that has the additional features. next step can probably be append out the custom keymap.c file to the generated one.
  • Loading branch information
0x833 authored Feb 16, 2021
1 parent cbf63a2 commit 019f681
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1,067 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-snazzy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ jobs:
run: |
sudo $HOME/.local/bin/qmk config user.keyboard=crkbd/rev1/common
sudo $HOME/.local/bin/qmk config user.keymap=snazzy
sudo $HOME/.local/bin/qmk json2c configurator/corne-snazzy-boi-v002.json > generated_keymap.c
sudo $HOME/.local/bin/qmk compile
- uses: actions/upload-artifact@v2
with:
name: corne-snazzy-boi-default.hex
path: ~/qmk_firmware/crkbd_rev1_common_snazzy.hex
name: corne-snazzy-default.hex
path: qmk_firmware/crkbd_rev1_common_snazzy.hex
- name: Release
uses: docker://softprops/action-gh-release
if: startsWith(github.ref, 'refs/tags/')
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions snazzy/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/* Disable the animations you don't want/need. You will need to disable a good number of these *
* because they take up a lot of space. Disable until you can successfully compile your firmware. */
// # define DISABLE_RGB_MATRIX_ALPHAS_MODS
# define DISABLE_RGB_MATRIX_ALPHAS_MODS
// # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
// # define DISABLE_RGB_MATRIX_BREATHING
// # define DISABLE_RGB_MATRIX_CYCLE_ALL
Expand All @@ -23,11 +23,11 @@
# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN
# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
// # define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
// # define DISABLE_RGB_MATRIX_DUAL_BEACON
# define DISABLE_RGB_MATRIX_DUAL_BEACON
// # define DISABLE_RGB_MATRIX_RAINBOW_BEACON
# define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS
// # define DISABLE_RGB_MATRIX_RAINDROPS
// # define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
# define DISABLE_RGB_MATRIX_RAINDROPS
# define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
# define DISABLE_RGB_MATRIX_TYPING_HEATMAP
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
# define DISABLE_RGB_MATRIX_SOLID_REACTIVE
Expand Down
Loading

0 comments on commit 019f681

Please sign in to comment.