Compare commits

...

8 Commits

Author SHA1 Message Date
dependabot[bot]
e1682597bc chore(deps): bump actions/github-script from 7 to 9
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-10 05:02:31 +00:00
snoyer
8a44ef109a feat(behaviors): add &out OUT_NONE (#3235)
Allow manually setting the preferred transport to `ZMK_TRANSPORT_NONE` with the `&out` behavior to prevent the keyboard from sending any output.
2026-03-31 00:52:27 -04:00
eden
3538843a09 fix(display): add serial VCOM inversion for Nice! View (#3294)
Adds serial VCOM inversion command settings for the Nice! View
shield, which fixes the DC biased state the LCD was previously
in when using this shield
2026-03-31 00:36:53 -04:00
dependabot[bot]
c62da0e166 chore(deps): bump actions/cache from 4 to 5 (#3315)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-29 22:55:19 -07:00
dependabot[bot]
327cbb587b chore(deps): bump actions/upload-artifact from 4 to 7 (#3316)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-29 22:54:53 -07:00
dependabot[bot]
bab8eb06c1 chore(deps): bump actions/setup-node from 4 to 6 (#3093)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-29 16:13:17 -07:00
dependabot[bot]
ed9626d8d1 chore(deps): bump actions/checkout from 5 to 6 (#3291)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-29 16:08:35 -07:00
Cem Aksoylar
3e64a5dccd chore(deps): npm update on docs (#3314) 2026-03-29 15:54:45 -07:00
14 changed files with 1750 additions and 1309 deletions

View File

@@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Find test directories - name: Find test directories
id: test-dirs id: test-dirs
run: | run: |
@@ -38,9 +38,9 @@ jobs:
image: docker.io/zmkfirmware/zmk-build-arm:4.1 image: docker.io/zmkfirmware/zmk-build-arm:4.1
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v4 uses: actions/cache@v5
env: env:
cache-name: cache-zephyr-modules cache-name: cache-zephyr-modules
with: with:
@@ -72,7 +72,7 @@ jobs:
run: BSIM_COMPONENTS_PATH="${GITHUB_WORKSPACE}/tools/bsim/components" BSIM_OUT_PATH="${GITHUB_WORKSPACE}/tools/bsim" ./run-ble-test.sh tests/ble/${{ matrix.test }} run: BSIM_COMPONENTS_PATH="${GITHUB_WORKSPACE}/tools/bsim/components" BSIM_OUT_PATH="${GITHUB_WORKSPACE}/tools/bsim" ./run-ble-test.sh tests/ble/${{ matrix.test }}
- name: Archive artifacts - name: Archive artifacts
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: "${{ matrix.test }}-log-files" name: "${{ matrix.test }}-log-files"
path: app/build/**/*.log path: app/build/**/*.log

View File

@@ -33,7 +33,7 @@ jobs:
has_valid_build_matrix: ${{ steps.fetch.outputs.has_valid_build_matrix }} has_valid_build_matrix: ${{ steps.fetch.outputs.has_valid_build_matrix }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Fetch Build Matrix - name: Fetch Build Matrix
id: fetch id: fetch
@@ -67,7 +67,7 @@ jobs:
curl -fsSL https://deb.nodesource.com/setup_22.x | bash && apt install -y nodejs curl -fsSL https://deb.nodesource.com/setup_22.x | bash && apt install -y nodejs
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Create build directory - name: Create build directory
run: | run: |
@@ -108,7 +108,7 @@ jobs:
fi fi
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v4 uses: actions/cache@v5
continue-on-error: true continue-on-error: true
env: env:
cache_name: cache-zephyr-${{ env.zephyr_version }}-modules cache_name: cache-zephyr-${{ env.zephyr_version }}-modules
@@ -217,7 +217,7 @@ jobs:
fi fi
- name: Archive (${{ env.display_name }}) - name: Archive (${{ env.display_name }})
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@v7
with: with:
name: artifact-${{ env.artifact_name }} name: artifact-${{ env.artifact_name }}
path: ${{ env.build_dir }}/artifacts path: ${{ env.build_dir }}/artifacts
@@ -229,7 +229,7 @@ jobs:
name: Merge Output Artifacts name: Merge Output Artifacts
steps: steps:
- name: Merge Artifacts - name: Merge Artifacts
uses: actions/upload-artifact/merge@v4 uses: actions/upload-artifact/merge@v7
with: with:
name: ${{ inputs.archive_name }} name: ${{ inputs.archive_name }}
pattern: artifact-* pattern: artifact-*

View File

@@ -30,11 +30,11 @@ jobs:
include: ${{ fromJSON(needs.compile-matrix.outputs.include-list) }} include: ${{ fromJSON(needs.compile-matrix.outputs.include-list) }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
persist-credentials: false persist-credentials: false
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v4 uses: actions/cache@v5
env: env:
cache-name: cache-zephyr-modules cache-name: cache-zephyr-modules
with: with:
@@ -57,13 +57,13 @@ jobs:
- name: Export Zephyr CMake package (west zephyr-export) - name: Export Zephyr CMake package (west zephyr-export)
run: west zephyr-export run: west zephyr-export
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: "14.x" node-version: "14.x"
- name: Install @actions/artifact - name: Install @actions/artifact
run: npm install @actions/artifact@5.0.3 run: npm install @actions/artifact@5.0.3
- name: Build - name: Build
uses: actions/github-script@v7 uses: actions/github-script@v9
id: boards-list id: boards-list
with: with:
script: | script: |
@@ -95,7 +95,7 @@ jobs:
throw new Error('Failed to build one or more configurations'); throw new Error('Failed to build one or more configurations');
} }
- name: Upload artifacts - name: Upload artifacts
uses: actions/github-script@v7 uses: actions/github-script@v9
continue-on-error: ${{ github.event_name == 'pull_request' }} continue-on-error: ${{ github.event_name == 'pull_request' }}
id: boards-upload id: boards-upload
with: with:
@@ -146,7 +146,7 @@ jobs:
include-list: ${{ steps.compile-list.outputs.result }} include-list: ${{ steps.compile-list.outputs.result }}
steps: steps:
- name: Join build lists - name: Join build lists
uses: actions/github-script@v7 uses: actions/github-script@v9
id: compile-list id: compile-list
with: with:
script: | script: |
@@ -187,16 +187,16 @@ jobs:
core-include: ${{ steps.core-list.outputs.result }} core-include: ${{ steps.core-list.outputs.result }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
persist-credentials: false persist-credentials: false
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: "14.x" node-version: "14.x"
- name: Install js-yaml - name: Install js-yaml
run: npm install js-yaml run: npm install js-yaml
- uses: actions/github-script@v7 - uses: actions/github-script@v9
id: core-list id: core-list
with: with:
script: | script: |
@@ -218,14 +218,14 @@ jobs:
boards-include: ${{ steps.boards-list.outputs.result }} boards-include: ${{ steps.boards-list.outputs.result }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: "14.x" node-version: "14.x"
- name: Install js-yaml - name: Install js-yaml
run: npm install js-yaml run: npm install js-yaml
- uses: actions/github-script@v7 - uses: actions/github-script@v9
id: boards-list id: boards-list
with: with:
script: | script: |
@@ -303,7 +303,7 @@ jobs:
nightly-include: ${{ steps.nightly-list.outputs.result }} nightly-include: ${{ steps.nightly-list.outputs.result }}
steps: steps:
- name: Create nightly list - name: Create nightly list
uses: actions/github-script@v7 uses: actions/github-script@v9
id: nightly-list id: nightly-list
with: with:
script: | script: |
@@ -346,17 +346,17 @@ jobs:
organized-metadata: ${{ steps.organize-metadata.outputs.result }} organized-metadata: ${{ steps.organize-metadata.outputs.result }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
persist-credentials: false persist-credentials: false
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: "14.x" node-version: "14.x"
- name: Install js-yaml - name: Install js-yaml
run: npm install js-yaml run: npm install js-yaml
- name: Aggregate Metadata - name: Aggregate Metadata
uses: actions/github-script@v7 uses: actions/github-script@v9
id: aggregate-metadata id: aggregate-metadata
with: with:
script: | script: |
@@ -374,7 +374,7 @@ jobs:
result-encoding: string result-encoding: string
- name: Organize Metadata - name: Organize Metadata
uses: actions/github-script@v7 uses: actions/github-script@v9
id: organize-metadata id: organize-metadata
with: with:
script: | script: |
@@ -428,7 +428,7 @@ jobs:
core-changes: ${{ steps.core-changes.outputs.result }} core-changes: ${{ steps.core-changes.outputs.result }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
with: with:
persist-credentials: false persist-credentials: false
- uses: tj-actions/changed-files@9200e69727eb73eb060652b19946b8a2fdfb654b # pin to v45.0.8 due to https://github.com/tj-actions/changed-files/issues/2463 https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised - uses: tj-actions/changed-files@9200e69727eb73eb060652b19946b8a2fdfb654b # pin to v45.0.8 due to https://github.com/tj-actions/changed-files/issues/2463 https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised
@@ -436,7 +436,7 @@ jobs:
with: with:
json: true json: true
escape_json: false escape_json: false
- uses: actions/github-script@v7 - uses: actions/github-script@v9
id: board-changes id: board-changes
with: with:
script: | script: |
@@ -444,7 +444,7 @@ jobs:
const boardChanges = changedFiles.filter(f => f.startsWith('app/boards')); const boardChanges = changedFiles.filter(f => f.startsWith('app/boards'));
return boardChanges.length ? 'true' : 'false'; return boardChanges.length ? 'true' : 'false';
result-encoding: string result-encoding: string
- uses: actions/github-script@v7 - uses: actions/github-script@v9
id: core-changes id: core-changes
with: with:
script: | script: |

View File

@@ -14,7 +14,7 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: bahmutov/npm-install@v1 - uses: bahmutov/npm-install@v1
with: with:
working-directory: docs working-directory: docs
@@ -24,7 +24,7 @@ jobs:
typecheck: typecheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: bahmutov/npm-install@v1 - uses: bahmutov/npm-install@v1
with: with:
working-directory: docs working-directory: docs

View File

@@ -20,7 +20,7 @@ jobs:
container: container:
image: docker.io/zmkfirmware/zmk-dev-arm:4.1 image: docker.io/zmkfirmware/zmk-dev-arm:4.1
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- name: Install dependencies - name: Install dependencies
run: pip install --break-system-packages -r app/scripts/requirements.txt run: pip install --break-system-packages -r app/scripts/requirements.txt
- name: West init - name: West init

View File

@@ -8,7 +8,7 @@ jobs:
pre-commit: pre-commit:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: 3.x python-version: 3.x

View File

@@ -35,7 +35,7 @@ jobs:
ZMK_RELEASE_PLEASE_TOKEN: ${{ secrets.ZMK_RELEASE_PLEASE_TOKEN }} ZMK_RELEASE_PLEASE_TOKEN: ${{ secrets.ZMK_RELEASE_PLEASE_TOKEN }}
VERSION: v${{ needs.handle-commit.outputs.major }}.${{ needs.handle-commit.outputs.minor }} VERSION: v${{ needs.handle-commit.outputs.major }}.${{ needs.handle-commit.outputs.minor }}
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- name: Create major.minor branch - name: Create major.minor branch
if: ${{ needs.handle-commit.outputs.patch == '0' }} if: ${{ needs.handle-commit.outputs.patch == '0' }}

View File

@@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Find test directories - name: Find test directories
id: test-dirs id: test-dirs
run: | run: |
@@ -40,9 +40,9 @@ jobs:
image: docker.io/zmkfirmware/zmk-build-arm:4.1 image: docker.io/zmkfirmware/zmk-build-arm:4.1
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v6
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v4 uses: actions/cache@v5
env: env:
cache-name: cache-zephyr-modules cache-name: cache-zephyr-modules
with: with:
@@ -69,7 +69,7 @@ jobs:
run: ZMK_TESTS_VERBOSE=1 west test tests/${{ matrix.test }} run: ZMK_TESTS_VERBOSE=1 west test tests/${{ matrix.test }}
- name: Archive artifacts - name: Archive artifacts
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v7
with: with:
name: "${{ matrix.test }}-log-files" name: "${{ matrix.test }}-log-files"
path: app/build/**/*.log path: app/build/**/*.log

View File

@@ -3,6 +3,9 @@
if SHIELD_NICE_VIEW if SHIELD_NICE_VIEW
config LS0XX_VCOM_THREAD_PRIO
default 11
config LV_Z_VDB_SIZE config LV_Z_VDB_SIZE
default 100 default 100

View File

@@ -12,6 +12,8 @@
reg = <0>; reg = <0>;
width = <160>; width = <160>;
height = <68>; height = <68>;
serial-vcom-inversion;
serial-vcom-interval = <33>;
}; };
}; };

View File

@@ -7,3 +7,4 @@
#define OUT_TOG 0 #define OUT_TOG 0
#define OUT_USB 1 #define OUT_USB 1
#define OUT_BLE 2 #define OUT_BLE 2
#define OUT_NONE 3

View File

@@ -42,6 +42,11 @@ static const struct behavior_parameter_value_metadata std_values[] = {
.type = BEHAVIOR_PARAMETER_VALUE_TYPE_VALUE, .type = BEHAVIOR_PARAMETER_VALUE_TYPE_VALUE,
}, },
#endif // IS_ENABLED(CONFIG_ZMK_BLE) #endif // IS_ENABLED(CONFIG_ZMK_BLE)
{
.value = OUT_NONE,
.display_name = "No Output",
.type = BEHAVIOR_PARAMETER_VALUE_TYPE_VALUE,
},
}; };
static const struct behavior_parameter_metadata_set std_set = { static const struct behavior_parameter_metadata_set std_set = {
@@ -65,6 +70,8 @@ static int on_keymap_binding_pressed(struct zmk_behavior_binding *binding,
return zmk_endpoint_set_preferred_transport(ZMK_TRANSPORT_USB); return zmk_endpoint_set_preferred_transport(ZMK_TRANSPORT_USB);
case OUT_BLE: case OUT_BLE:
return zmk_endpoint_set_preferred_transport(ZMK_TRANSPORT_BLE); return zmk_endpoint_set_preferred_transport(ZMK_TRANSPORT_BLE);
case OUT_NONE:
return zmk_endpoint_set_preferred_transport(ZMK_TRANSPORT_NONE);
default: default:
LOG_ERR("Unknown output command: %d", binding->param1); LOG_ERR("Unknown output command: %d", binding->param1);
} }

View File

@@ -30,10 +30,11 @@ header, which is added at the top of the keymap file:
This allows you to reference the actions defined in this header: This allows you to reference the actions defined in this header:
| Define | Action | | Define | Action |
| --------- | ----------------------------------------------- | | ---------- | ----------------------------------------------- |
| `OUT_USB` | Prefer sending to USB | | `OUT_USB` | Prefer sending to USB |
| `OUT_BLE` | Prefer sending to the current bluetooth profile | | `OUT_BLE` | Prefer sending to the current bluetooth profile |
| `OUT_TOG` | Toggle between USB and BLE | | `OUT_TOG` | Toggle between USB and BLE |
| `OUT_NONE` | Prevent from sending any output |
## Output Selection Behavior ## Output Selection Behavior

2957
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff