-
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.
* BREAKING: start over * add basic structure * feat: add basic structure and logic for consumer control, quantum functions and keyboard presses * feat: add press and release key functions * feat: add testing * feat: include SQUIRREL in test * tests: add test key * feat: add a proper test * feat: add github workflows and nix checks * fix: reduce large logs from gh action * feat: use variable arg functions for key funcs * fix: keyboard_press_release fails * feat: lib .a files as gh action asset * feat: add more tests, add placeholder for quantum_passthrough_press_release * feat: add expected error testing * fix: linker issues from CMakeLists, quantum_passthrough functions, added an init function, moved key to squirrel_key * fix: quantum_passthrough_press_release failing * feat: add code coverage to tests * fix: nix flake check run fails * chore: rename keyboard functions to prepend 'keyboard_' * feat: add tests for keyboard_get_keycodes consumer_press_release, add testing for errors in some tests, add consumer code functions to squirrel_quantum * feat: switch from stdarg to void**, add tests for squirrel_key * feat: add boilerplate and tests for layer_press_release functions * feat: add tests for layer_press_release * feat: add new tests, and fix the layer functions * fix: check_key failing * feat: deinit function * feat: test copy of key to layer 16, rename init_keyboard to squirrel_init
- Loading branch information
1 parent
dd34464
commit 798f6b9
Showing
39 changed files
with
2,297 additions
and
439 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,18 @@ | ||
name: Build with Nix | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix build '.?submodules=1#squirrel' | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: libsquirrel.a | ||
path: result/libsquirrel.a | ||
|
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 @@ | ||
name: Test with Nix | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
run-checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix flake check |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Nix ignores | ||
result | ||
|
||
# CMake ignores | ||
CMakeLists.txt.user | ||
CMakeCache.txt | ||
|
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
Oops, something went wrong.