-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from carrefinho/studio
Add ZMK Studio support and clean up
- Loading branch information
Showing
9 changed files
with
111 additions
and
41 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 |
---|---|---|
@@ -1,5 +1,51 @@ | ||
# Forager ZMK Config | ||
# Forager ZMK Module | ||
|
||
This is the sample ZMK config module for [the Forager keyboard](https://github.com/carrefinho/forager). | ||
This is the ZMK module for [the Forager keyboard](https://github.com/carrefinho/forager). | ||
|
||
It uses the awesome [zmk-rgbled-widget from caksoylar](https://github.com/caksoylar/zmk-rgbled-widget). | ||
[ZMK Studio](https://zmk.dev/docs/features/studio) is supported and enabled by default. | ||
|
||
Featuring the awesome [zmk-rgbled-widget by caksoylar](https://github.com/caksoylar/zmk-rgbled-widget). | ||
|
||
# Usage | ||
|
||
Add these lines to `config/west.yml` in your `zmk-config` repository: | ||
|
||
```yaml | ||
manifest: | ||
remotes: | ||
- name: zmkfirmware | ||
url-base: https://github.com/zmkfirmware | ||
- name: carrefinho # <--- | ||
url-base: https://github.com/carrefinho # <--- | ||
- name: caksoylar # <--- | ||
url-base: https://github.com/caksoylar # <--- | ||
projects: | ||
- name: zmk | ||
remote: zmkfirmware | ||
revision: main | ||
import: app/west.yml | ||
- name: forager-zmk-module # <--- | ||
remote: carrefinho # <--- | ||
revision: main # <--- | ||
- name: zmk-rgbled-widget # <--- | ||
remote: caksoylar # <--- | ||
revision: main # <--- | ||
self: | ||
path: config | ||
``` | ||
Then add `forager_left` and `forager_right` shields to your `build.yaml`: | ||
|
||
```yaml | ||
--- | ||
include: | ||
- board: seeeduino_xiao_ble | ||
shield: forager_left rgbled_adapter | ||
snippet: studio-rpc-usb-uart | ||
- board: seeeduino_xiao_ble | ||
shield: forager_right rgbled_adapter | ||
``` | ||
|
||
For more information on ZMK Modules and building locally, see [the ZMK docs page on modules.](https://zmk.dev/docs/features/modules) | ||
|
||
To customize behavior of the RGB LED, see [rgbled-widget documentation.](https://github.com/caksoylar/zmk-rgbled-widget) |
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
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,5 +1,5 @@ | ||
config FORAGER_LEFT | ||
config SHIELD_FORAGER_LEFT | ||
def_bool $(shields_list_contains,forager_left) | ||
|
||
config FORAGER_RIGHT | ||
config SHIELD_FORAGER_RIGHT | ||
def_bool $(shields_list_contains,forager_right) |
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
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
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,10 +1,11 @@ | ||
file_format: "1" | ||
id: forager | ||
name: forager | ||
name: Forager | ||
type: shield | ||
requires: [seeeduino_xiao_ble] | ||
features: | ||
- keys | ||
- studio | ||
siblings: | ||
- forager_left | ||
- forager_right |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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