Pete Johanson
a9ff3a78a1
chore(main): release 0.1.0 ( #2657 )
2024-12-04 14:26:12 -05:00
Cem Aksoylar
3f7c9d7cc4
docs: Create a Hardware Integration index page ( #2634 )
...
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-11-28 23:00:33 -08:00
Cem Aksoylar
978c7cb124
docs: Mention combos in reset behaviors ( #2677 )
...
Fixes #2652
2024-11-28 14:45:33 +01:00
Cem Aksoylar
230b860f31
fix(boards): Disable uart serial node in Xiao BLE by default ( #2672 )
2024-11-25 17:19:13 -05:00
dependabot[bot]
d39941dfbe
chore(deps): bump the prod-other-minor-patch group across 1 directory with 2 updates
...
Bumps the prod-other-minor-patch group with 2 updates in the /docs directory: [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) and [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ).
Updates `@fortawesome/fontawesome-svg-core` from 6.6.0 to 6.7.1
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.6.0...6.7.1 )
Updates `@fortawesome/free-solid-svg-icons` from 6.6.0 to 6.7.1
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.6.0...6.7.1 )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-other-minor-patch
- dependency-name: "@fortawesome/free-solid-svg-icons"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: prod-other-minor-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-23 14:45:34 -08:00
Pete Johanson
fb359f5766
feat(boards): Add glove80 nexus node for extension GPIO. ( #2594 )
...
Add generic extension nexus node for consistent GPIO access
to the extension pins in a left/right agnostic way.
2024-11-20 18:36:32 -05:00
Genteure
76ee97e1b6
docs: Move defines to the end in layer behaviors ( #2639 )
2024-11-20 09:58:05 -08:00
Danil Romanov
33113c7028
docs: Update new-shield.mdx ( #2664 )
2024-11-20 18:54:54 +01:00
Pete Johanson
6934e362b5
docs(ci): Netlify ignore command to check branch ( #2659 )
...
Add a separate ignore script that checks git changes but also
only deploys main and version branches to allow us to deploy
versioned docs.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-11-18 20:26:26 -05:00
dependabot[bot]
4fcc308910
chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /docs
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-18 14:22:33 -08:00
Pete Johanson
ffa485c11b
feat(ci): Add release-please automation with VERSION ( #2622 )
...
* Add VERSION file that Zephyr will pick up
* Add release-please automation
* Updated docs on commits messages, and PR process
* Updated PR template to match.
---
Release-As: 0.1.0
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-11-18 16:46:26 -05:00
Azalea Colburn
70542990c0
docs: Remove dangling 0 in sticky keys docs
2024-11-18 10:56:26 -08:00
esplo
f8eff2fe34
fix: include a header file for RC macros ( #2649 )
2024-11-16 09:51:21 +01:00
Peter Johanson
888c0d966c
feat(drivers): Support init high/low in 595 driver
...
Add support for initializing a pin to a given high/low value during
configuration. Needed for proper initialization by systems like
GPIO hogs or gpio-leds Zephyr drivers.
2024-11-15 11:00:37 -07:00
Nicolas Munnich
58de2eb5e9
docs: touchups on the soft off information for improved clarity. ( #2647 )
2024-11-15 00:44:40 +01:00
Cem Aksoylar
e4339241ea
docs: Mention build.yaml in Studio instructions ( #2644 )
2024-11-14 09:20:51 +01:00
Nicolas Munnich
fed66a92d0
fix(studio): Improved error message when keyboard is missing a physical layout.
2024-11-13 11:38:41 -07:00
Nicolas Munnich
9d9f626938
docs: Some minor improvements to the studio features page
2024-11-13 11:17:11 -07:00
Peter Johanson
14c6fb74ee
ci: Add gitlint and document commit conventions
...
* Add gitlint to pre-commit setup
* Update pre-commit setup for installing commit-hooks
* Add "Commit Conventions" contributing docs
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-11-12 18:39:27 -07:00
Cem Aksoylar
b0f5789b12
fix: Disable display feature for settings_reset
2024-11-12 18:38:33 -07:00
Alexander Krikun
2a5b73f294
docs: document nrf528xx-nosd snippets
2024-11-12 18:28:59 -07:00
Alexander Krikun
4438b7b835
feat(boards): add nrf52840-nosd snippet
...
Add snippet to build for nRF52840 boards while ignoring the SoftDevice.
This might be useful for especially memory-intensive applications.
2024-11-12 18:28:59 -07:00
Alexander Krikun
63af296b6e
feat(boards): add nrf52833-nosd snippet
...
Add snippet to build for nRF52833 boards while ignoring the SoftDevice.
This is necessary as those boards are memory-constrained.
2024-11-12 18:28:59 -07:00
ReFil
c9553c31e3
fix(boards): Fix typo in BT75 metadata
...
Spotted this underscore that shouldn't be there when reading the studio blog post
2024-11-12 13:44:56 -07:00
Nicolas Munnich
98e314baf2
docs: Added permissions note for ZMK Studio USB use ( #2638 )
2024-11-12 10:08:23 -08:00
Joel Spadin
c7473fc325
fix: Fix inconsistent column offset property
...
Renamed the composite kscan's column-offset property to col-offset for
consistency with other properties such as matrix transform's col-offset
and matrix kscan's col-gpios.
2024-11-12 09:07:25 -07:00
Peter Johanson
9320271dde
docs: Remove beta warning from ZMK Studio pages.
2024-11-11 16:44:06 -07:00
Peter Johanson
8779530312
blog: Add ZMK Studio release blog post.
...
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-11-11 16:44:06 -07:00
dependabot[bot]
bac6bda34c
chore(deps): bump the docusaurus-minor-patch group ( #2631 )
...
Bumps the docusaurus-minor-patch group in /docs with 3 updates: [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ), [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) and [@docusaurus/theme-mermaid](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-mermaid ).
Updates `@docusaurus/core` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus )
Updates `@docusaurus/preset-classic` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus-preset-classic )
Updates `@docusaurus/theme-mermaid` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus-theme-mermaid )
---
updated-dependencies:
- dependency-name: "@docusaurus/core"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: docusaurus-minor-patch
- dependency-name: "@docusaurus/preset-classic"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: docusaurus-minor-patch
- dependency-name: "@docusaurus/theme-mermaid"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: docusaurus-minor-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 01:05:54 +01:00
Cem Aksoylar
4082370215
chore: Config dependabot for grouped npm updates ( #2614 )
2024-11-09 22:11:28 -08:00
Alex Olshansky
7248438ee4
docs: Fix typos in local-toolchain/setup ( #2626 )
2024-11-10 01:09:29 +01:00
Nicolas Munnich
2ded7919eb
docs: Adjust physical layouts page
2024-11-07 11:59:31 -07:00
Nicolas Munnich
99b8506437
refactor: new physical layouts convention
2024-11-06 15:29:22 -07:00
Nicolas Munnich
a173be9d71
docs: documenting new convention for physical layouts
2024-11-06 15:29:22 -07:00
Joel Spadin
cf2c46734d
feat(boards): Add numpad layouts
...
Added physical layouts for the following variants of numpads:
- With and without extra top row
- 2U plus key or 1U plus and backspace keys
- 2U 0 key or 1U 0 and 00 keys
- Full 1U grid/macropad layout
Other layouts exist, such as "southpaw" horizontally mirrored layouts,
and layouts with a fifth column, but those seem to be much less common.
2024-11-06 11:35:51 -07:00
dependabot[bot]
e6c1219f0c
chore(deps-dev): bump @docusaurus/types from 3.5.2 to 3.6.0 in /docs ( #2612 )
...
Bumps [@docusaurus/types](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-types ) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.0/packages/docusaurus-types )
---
updated-dependencies:
- dependency-name: "@docusaurus/types"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 13:37:45 +01:00
Peter Johanson
19a096ab67
fix(keymap): Set bindings with changed layout
...
* Fix bug with setting keymap layer bindings when a non-stock layout
is selected.
2024-11-04 13:30:40 -07:00
dependabot[bot]
f08b817d60
chore(deps-dev): bump webpack from 5.96.0 to 5.96.1 in /docs ( #2607 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.96.0 to 5.96.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.96.0...v5.96.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 09:56:00 +01:00
Allister MacLeod
9935e8df47
chore: Marking C_AL_CALENDAR / C_AL_CAL as not available on macOS and iOS. ( #2606 )
2024-11-03 08:31:27 +01:00
Brian Tannous
644fc821f7
Set C_AL_CALC for macOS and iOS to false ( #1595 )
2024-11-03 01:25:48 +01:00
Less/Rikki
6e37f21f6b
docs(feat): further generalize RGB information ( #2485 )
...
* docs(feat): Provide example of PIO SPI for RGB underglow
* docs(feat): further generalize RGB information
* docs: use nice_nano_v2 for board-specific shield config example
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-11-03 00:31:15 +01:00
Nicolas Munnich
40f59df2cc
docs: studio features list ( #2598 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Peter Johanson <peter@peterjohanson.com >
2024-11-03 00:30:01 +01:00
Nicolas Munnich
1cfce345ba
docs: Add retro-tap sentence and fix anchor ( #2605 )
...
Co-authored-by: Felix Sargent <felix.sargent@gmail.com >
2024-11-03 00:29:09 +01:00
Nicolas Munnich
f4582bdaa7
feat(docs) Adding some additional clarity around low power states ( #2330 )
...
* docs(feat): Adding some additional clarity around low power states, with guide portion moved to hardware integration
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-11-02 23:20:31 +01:00
Peter Johanson
249ecbc7e6
fix(studio): Bump nanopb version with build fixes.
...
* Pull in fixes for prefering generator/protoc instead of the
host protoc, for better compatibility.
2024-11-01 13:17:29 -06:00
dependabot[bot]
158bb31863
chore(deps-dev): bump webpack from 5.95.0 to 5.96.0 in /docs ( #2600 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.95.0 to 5.96.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.95.0...v5.96.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 09:50:53 +01:00
Nicolas Munnich
80df3195b7
docs: Add a hardware issues page under troubleshooting ( #2360 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Anant Thazhemadam <47104651+thazhemadam@users.noreply.github.com >
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com >
2024-10-31 10:42:00 -07:00
Pauiii
cb5e605906
docs: Devcontainers-cli enhancement ( #2548 )
...
* docs: Split local toolchain setup for Docker in two separated approaches.
This includes adding a new dropdown for Docker which lists overall steps
that have to be done when setting up the environment. Furthermore, the
previous documentation is no listed under VSCode and new documentation
for the Devcontainer CLI has been added.
Since the described approaches for VS Code and Dev Container CLI varied
quiet a bit a more unified way of setting them up was added. Due to
that, the documentation for building and flashing could be simplified as
well.
* docs: Update documentation for building and flashing for devcontainers.
Moved information about creating volumes for Docker containers into the
overall Docker setup documentation. Add warning for changing build
directory or adding options for building at the top of the page.
* feat(devcontainers): Add new volume for mounting modules.
---------
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-10-27 20:17:41 +01:00
Nicolas Munnich
7d8dd64cdc
docs: Added a page on pin control for ZMK ( #2508 )
...
* docs(feat): Added a page on pin control for ZMK
* Added note on HAL modules
* docs: Added images of boards
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-10-27 02:31:47 +02:00
Joel Spadin
f0a3947044
Update web-tree-sitter and tweak keymap upgrader ( #2593 )
...
* fix(docs): Fix TypeScript import diagnostics
Set the TypeScript module resolution mode to "bundler" so it correctly
resolves imports in .ts files instead of showing errors in IDEs.
* chore(docs): Update web-tree-sitter
Updated web-tree-sitter, and switched from having a copy of
tree-sitter-devicetree.wasm in the repo to using the latest version of
the tree-sitter-devicetree module, which now contains the .wasm file.
* fix(docs): Make keymap upgrader resize vertically only
Changed the textarea in the keymap ugprader to allow only vertical
resizing. This better fits the layout of the page, and it prevents you
from shrinking the box horizontally to the point where it doesn't fit
anything.
2024-10-26 09:55:09 +02:00
Nicolas Munnich
7ee25c7959
chore: updated path-to-regexp
2024-10-25 14:06:42 -07:00
dependabot[bot]
87cea76c93
chore(deps): bump react-toastify from 10.0.5 to 10.0.6 in /docs ( #2589 )
...
Bumps [react-toastify](https://github.com/fkhadra/react-toastify ) from 10.0.5 to 10.0.6.
- [Release notes](https://github.com/fkhadra/react-toastify/releases )
- [Commits](https://github.com/fkhadra/react-toastify/compare/v10.0.5...v10.0.6 )
---
updated-dependencies:
- dependency-name: react-toastify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 13:10:34 +02:00
dependabot[bot]
9a68b2eeb7
chore(deps-dev): bump @types/react from 18.3.5 to 18.3.12 in /docs ( #2587 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.3.5 to 18.3.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 13:07:45 +02:00
dependabot[bot]
428c36bc59
chore(deps-dev): bump eslint-plugin-react from 7.37.1 to 7.37.2 in /docs ( #2588 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.37.1 to 7.37.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.1...v7.37.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 13:05:51 +02:00
Nicolas Munnich
5487b108d5
docs: fixing some more broken anchors ( #2586 )
2024-10-23 02:16:59 +02:00
dependabot[bot]
55c67804eb
chore(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs ( #2585 )
...
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware ) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases )
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md )
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v2.0.7 )
---
updated-dependencies:
- dependency-name: http-proxy-middleware
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 01:52:19 +02:00
dependabot[bot]
0d8b23fccb
chore(deps): bump mermaid from 10.9.1 to 10.9.3 in /docs ( #2584 )
...
Bumps [mermaid](https://github.com/mermaid-js/mermaid ) from 10.9.1 to 10.9.3.
- [Release notes](https://github.com/mermaid-js/mermaid/releases )
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/mermaid-js/mermaid/compare/v10.9.1...v10.9.3 )
---
updated-dependencies:
- dependency-name: mermaid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 01:49:45 +02:00
dependabot[bot]
e9681270d3
chore(deps): bump @mdx-js/react from 3.0.1 to 3.1.0 in /docs ( #2580 )
...
Bumps [@mdx-js/react](https://github.com/mdx-js/mdx/tree/HEAD/packages/react ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/mdx-js/mdx/releases )
- [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md )
- [Commits](https://github.com/mdx-js/mdx/commits/3.1.0/packages/react )
---
updated-dependencies:
- dependency-name: "@mdx-js/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 01:48:09 +02:00
dependabot[bot]
4c47d67e63
chore(deps-dev): bump typescript from 5.5.4 to 5.6.3 in /docs ( #2581 )
...
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.5.4 to 5.6.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 01:39:19 +02:00
Peter Johanson
8ed556df62
chore(studio): Only clear settings for overridden key positions.
2024-10-21 14:53:31 -06:00
Peter Johanson
369a009d99
chore(shields): Add studio feature to qaz metadata
2024-10-21 10:08:51 -06:00
Zack Forbing
200d98f623
feat(shields): QAZ: added three physical layouts
...
* added three physical layouts
---------
Co-authored-by: Zack Forbing <zforbing@vertafore.com >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-10-21 11:53:06 -04:00
dependabot[bot]
8756a064d1
chore(deps-dev): bump webpack from 5.94.0 to 5.95.0 in /docs ( #2578 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.94.0 to 5.95.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.94.0...v5.95.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 09:01:53 +02:00
KingCoinless
7293037f18
docs(codes): Android Support: Basic Controls and Input + Display ( #603 )
...
* docs(codes): Android Support: Basic Controls and Input + Display
---------
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-10-20 23:57:00 +02:00
dependabot[bot]
a057e4c89d
chore(deps-dev): bump json-schema-to-typescript from 13.1.2 to 15.0.2 in /docs ( #2454 )
...
* chore(deps-dev): bump json-schema-to-typescript in /docs
Bumps [json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript ) from 13.1.2 to 15.0.2.
- [Changelog](https://github.com/bcherny/json-schema-to-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bcherny/json-schema-to-typescript/commits )
---
updated-dependencies:
- dependency-name: json-schema-to-typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: glob types missing
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Munnich <nickmunnich@gmail.com >
2024-10-20 18:38:11 +02:00
dependabot[bot]
7f1ee320ab
chore(deps): bump cookie and express in /docs ( #2570 )
...
Bumps [cookie](https://github.com/jshttp/cookie ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases )
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1 )
Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1 )
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 20:01:01 +02:00
dependabot[bot]
b67f8bbe9f
chore(deps-dev): bump eslint-plugin-react from 7.35.0 to 7.37.1 in /docs ( #2524 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.35.0 to 7.37.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.0...v7.37.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 19:52:54 +02:00
dependabot[bot]
548fe7f6bd
chore(deps): bump serve-static and express in /docs ( #2483 )
...
Bumps [serve-static](https://github.com/expressjs/serve-static ) and [express](https://github.com/expressjs/express ). These dependencies needed to be updated together.
Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases )
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md )
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2 )
Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: serve-static
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-19 19:39:26 +02:00
dependabot[bot]
94100e307b
chore(deps-dev): bump eslint-config-prettier in /docs ( #2127 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.10.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v9.1.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
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>
2024-10-19 14:52:13 +02:00
dependabot[bot]
2e9d72ba6b
chore(deps-dev): bump prettier from 2.8.8 to 3.3.3 in /docs ( #2374 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.8 to 3.3.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.3.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
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>
2024-10-19 14:47:00 +02:00
Peter Johanson
ea1a09bf99
fix: Optimize layout changes by doing runtime mapping
...
* To avoid tons of migration, extra flash writes, etc, we keep
the keymaps and settings using a key position index that's tied
to the stock layout, and at runtime mapping key positions as
needed.
2024-10-18 15:30:13 -06:00
Nicolas Munnich
a6d09f8c00
docs: Added mastodon link in footer
2024-10-17 15:01:30 -06:00
Peter Johanson
10868c72f7
chore: Tag studio enabled boards/shields.
2024-10-17 10:20:30 -06:00
Peter Johanson
64c1e1e3ff
feat: Add studio as a feature option in metadata
...
* Allow boards/shields to indicate ZMK Studio support in the `features` list.
2024-10-17 10:20:30 -06:00
honorless
7dfc6ab31d
refactor(shields): MurphPad
...
* Added matrix transforms and physical layouts for three typical
configurations.
* Tweaked default keymap to be more immediately useful for ZMK and more
closely resemble the default keymaps of non-ZMK firmware.
* Board-specific Kconfig settings migrated to main shield file, so they
will be exposed to end-users through the setup script.
* Tidied formatting and shortened overlong layer labels.
* Aligned encoder configuration with current standards.
* Corrected default number of RGB LEDs.
* Enabled OLED by default in a less authoritarian way.
2024-10-16 18:21:40 -06:00
Alexander Krikun
11537ebee6
feat(shields): add physical layouts and update keymap for Jiran
...
Add physical layouts and update the keymap for Ladniy's Jiran.
Layouts are added for all three possible transforms:
- Full (with additional pinky key and number row)
- Jian (with additional pinky key), re-uses Jian layout
- 6 column (Corne), re-uses Jian layout
Keymap update includes &studio_unlock.
2024-10-16 17:04:39 -06:00
Alexander Krikun
218a2fff8d
feat(shields): add physical layouts and update keymap for Jian
...
Add physical layouts and update the keymap for King of Hedgehogs' Jian.
Layouts are added for all three possible transforms:
- Full (with additional pinky key)
- 6 column (Corne)
- 5 column (Minidox)
The layouts are added to be re-usable for the Jiran and other custom boards/shields.
Keymap update includes, small guide clarifications, output selection,
tri-layer and &studio_unlock.
2024-10-16 17:04:39 -06:00
Alexander Krikun
bbe4f64bb2
feat(shields): add physical layouts and update keymap for Jorne
...
Add physical layouts and update the keymap for Joric's Jorne.
Layouts are added for all three possible transforms:
- Full (with additional pinky key)
- 6 column (Corne), re-uses Corne layout
- 5 column (Minidox), re-uses Corne layout
Keymap update includes quick-tap-ms (essential for this keymap), small
guide clarifications, output selection, tri-layer and &studio_unlock.
2024-10-16 17:04:39 -06:00
Peter Johanson
c8841c4119
docs: Add note about .keymap changes when using Studio
2024-10-16 13:09:51 -06:00
Peter Johanson
993a64d5b3
docs: Better document the layer display-name prop.
2024-10-16 11:57:27 -06:00
angweekiat
0adb80c02b
fix(usb): detect USB power mode to fallback to BLE
...
* Add tracking to see if we ever hit a configured status before
suspend, so we can properly track "is connected" even when
connected to a suspended/asleep host.
2024-10-14 19:15:45 -04:00
Peter Johanson
6cbf25f04a
docs: Update Studio status warnings to beta.
...
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-10-14 09:42:06 -06:00
Peter Johanson
0abc1eaf23
docs: Add ZMK Studio links.
...
* Add a toplevel ZMK Studio link in our header.
* Add link to the web and app releases to the feature page.
2024-10-14 09:42:06 -06:00
Nicolas Munnich
a72327bdff
docs: Physical layout docs improvements ( #2533 )
...
* docs: Added layout configuration reference page
* docs: Refactored and revamped physical layout creation information
* docs: Added note in studio features page
* docs: added studio_unlock note in features section
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Joel Spadin <joelspadin@gmail.com >
Co-authored-by: Peter Johanson <peter@peterjohanson.com >
2024-10-12 21:25:45 +02:00
Pete Johanson
d3f2895744
refactor: Give position map children labels. ( #2544 )
...
* To make is easier to reuse layouts and override the position
maps for them, add labels to all the position map children in our
shared layouts.
2024-10-10 13:03:32 -04:00
Pete Johanson
dab4b2cdf3
fix(studio): Reduce stack usage. ( #2547 )
...
* Imply nanopb setting for reduced stack usage.
2024-10-10 12:49:51 -04:00
Pete Johanson
78513af73e
feat(studio): Move to nanopb with minor optimizations. ( #2505 )
...
* Reduced stack size.
2024-10-10 12:36:27 -04:00
Cem Aksoylar
022ede9d1e
docs: Remove download for settings_reset and note local build
2024-10-08 17:04:36 -07:00
Cem Aksoylar
16976db58c
docs: Fix columns names in kscan config
2024-10-08 14:58:04 -07:00
Cem Aksoylar
6e2d30d589
docs: Add missing hold-trigger-on-release to config
2024-10-08 14:58:04 -07:00
Allister MacLeod
4aea919a4d
fix(display): Adding length check to layer_label in nice_view status widget.
2024-10-08 12:27:01 -04:00
Peter Johanson
47a17c64d7
fix: Defer auto enabling of kscan sideband.
...
* Now that device init of kscan sideband is in POST_KERNEL stage,
use a separate SYS_INIT for auto enabling the device so processing
of early/initial presses from referenced toggle mode kscan devices
occurs at the proper time during init.
2024-10-08 10:20:39 -06:00
Peter Johanson
6cac781ada
feat: Add basic metadata info to new behavior guide.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-10-08 00:45:37 -06:00
Peter Johanson
29b39f2b9f
feat: A few enhancements to our RPC messages.
...
* More fine grained status reporting when saving changes. Needed to we
can notify the client if we've got errors saving settings due to
running out of space, etc.
* Return the max layer name lenght in the keymap payload, for the UI to
leverage.
2024-10-03 15:10:58 -06:00
Nicolas Munnich
c05aed2f19
fix(boards): Corneish-zen physical layout
2024-10-03 08:57:18 -06:00
Joel Spadin
60a8f29340
feat(boards)!: refactor Corne layouts
...
Split up the Corne layout files to match the previous commit.
2024-10-02 18:48:18 -06:00
Joel Spadin
36f146226e
feat(boards)!: refactor common layouts
...
Removed the combined .dtsi file for each group of common layouts, and
split the position map across the files in each group. This makes
reading the position maps slightly more difficult, but it aligns the
common layouts with the keyboard-specific ones such as
foostan/corne.dtsi in that simply including each header adds the
layout, with no need to set status = "okay".
2024-10-02 18:48:18 -06:00
Peter Johanson
73ca365530
feat(boards): PM RP2040 flash settings support.
2024-10-01 01:57:08 -06:00
LostQuasar
90d6285d98
blog: Remove reference to spaceman ( #2520 )
2024-09-30 19:43:58 -07:00
Nicolas Munnich
e195822559
docs: fixed broken anchors
2024-09-30 16:43:47 -07:00
Nicolas Munnich
99b424bb4b
docs: Streamlined the new shield guide ( #2515 )
...
* docs: Streamlined the new shield guide
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-10-01 00:00:55 +02:00
Peter Johanson
ce04352e2f
feat: Add reviung41 physical layout.
2024-09-30 12:00:21 -06:00
Peter Johanson
8c21e7766d
feat: Add physical layout to BDN9 rev2.
2024-09-30 12:00:21 -06:00
Peter Johanson
7276fd525f
feat: Build asserts for requires studio layout bits.
...
* When building with ZMK Studio, assert that we have physical layouts,
and those layouts have key information set.
2024-09-30 12:00:21 -06:00
Cem Aksoylar
59c82ef27a
refactor(shields): Use space not hyphen for layout names
2024-09-30 11:30:10 -06:00
Cem Aksoylar
608b6458a9
feat(boards): Add physical layout to Corne-ish Zen
2024-09-30 11:30:10 -06:00
Cem Aksoylar
907b1caaa6
refactor(shields): Add physical layout chosen nodes for consistency
2024-09-30 11:30:10 -06:00
Cem Aksoylar
552d665f58
feat(boards): Add glove80 and adv360pro layouts
2024-09-30 11:30:10 -06:00
Cem Aksoylar
dafdc44b22
feat(shields): Use new shared layouts
2024-09-30 11:30:10 -06:00
Cem Aksoylar
f618871f53
feat(shields): Add more shared layouts
2024-09-30 11:30:10 -06:00
Nicolas Munnich
a314128ea8
docs: Pull encoders from new shield guide to its own page ( #2510 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-09-30 10:06:00 -07:00
ReFil
e68abe57d8
feat(shields): Shield physical layouts
2024-09-26 11:53:24 -06:00
ReFil
e80b1584de
feat(boards): Preonic physical layout
2024-09-26 11:53:24 -06:00
ReFil
91e1a7cfef
feat(boards): Planck physical layout
2024-09-26 11:53:24 -06:00
ReFil
026be009a6
feat(boards): CKP physical layout
2024-09-26 11:53:24 -06:00
ReFil
a8f7888f4d
feat(boards): BT60 V1 Physical Layout
2024-09-26 11:53:24 -06:00
ReFil
a47f1fe2e1
feat(boards): nice!60 physical layout
2024-09-26 11:53:24 -06:00
ReFil
ec32c566ce
feat(boards): Tofu65 V2 Physical layout
2024-09-26 11:53:24 -06:00
ReFil
0a25fa2f95
feat(boards): add common keyboard layouts
2024-09-26 11:53:24 -06:00
Nicolas Munnich
1f900bfc9c
docs: Added a note on bluetooth profiles under "unable to connect to device" ( #2509 )
...
* docs: Added a note on bluetooth profiles under "unable to connect to device"
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-09-26 19:49:13 +02:00
Peter Johanson
a17266847d
fix: Force Ubuntu 22.04, pending CI fixes.
2024-09-26 10:08:43 -06:00
Peter Johanson
4a8ceba0db
chore: Fix keymap const warning.
2024-09-25 20:23:19 -06:00
Peter Johanson
5d4b6df6a7
feat(studio): Log entry into all RPC.
2024-09-25 17:46:50 -06:00
Peter Johanson
21e1b2acad
feat: Add RPC thread analysis support.
2024-09-25 17:46:50 -06:00
ReFil
17f0a4d307
feat(ble): Set device name at runtime
...
This allows for the device name to be set at runtime, possible uses for this include a custom display screen that lets you type it in using the keycode state event, future configuration in zmk studio, or altering it per profile as per #1169
2024-09-25 15:35:42 -04:00
ReFil
58dcf5c285
feat(power): Support multiple ext_power GPIOS
2024-09-25 15:30:45 -04:00
Peter Johanson
33e3b02ddb
feat: Split physical layout selection sync.
...
* Ensure the split peripherals have the same selected physical
layout on connection and change.
2024-09-23 15:12:22 -06:00
Peter Johanson
f992352936
chore: Formatting fix.
2024-09-23 10:31:43 -06:00
Cem Aksoylar
8166527ea3
fix(docs): Remove split locality issue note
2024-09-23 10:17:29 -06:00
Cem Aksoylar
fb18a4d871
refactor: Condition source props on CONFIG_ZMK_SPLIT
2024-09-23 10:17:29 -06:00
Cem Aksoylar
b249135742
feat(sensors): Make sensors always trigger on central (for now)
2024-09-23 10:17:29 -06:00
Cem Aksoylar
4fdfb01b6a
feat(split): Make combos invoke behaviors with locality
...
TODO: Currently the source is hardcoded to central for source local behaviors
2024-09-23 10:17:29 -06:00
Cem Aksoylar
9e36ebd525
feat(split): Make locality work nested behavior invocations
...
Co-authored-by: Tokazio <tokazio@hotmail.com >
2024-09-23 10:17:29 -06:00
Peter Johanson
11f600d9e5
fix(display): Check layer name length too.
2024-09-20 22:59:44 -06:00
Peter Johanson
cca637d66e
fix: Properly calculate highest active layer for display.
2024-09-20 22:59:44 -06:00
Peter Johanson
de38676afd
fix(core): Warn only with layouts + chosen transform
...
* Instead of erroring out, simply ignore physical layouts if we
detect a chosen matrix transform, and warn instead.
2024-09-19 13:12:17 -06:00
Peter Johanson
1baf18d671
chore: Better errno formatting in logs.
2024-09-19 01:15:13 -06:00
Peter Johanson
6ae07d222a
feat: Bit of extra studio keymap logging.
2024-09-18 13:08:35 -06:00
XiNGRZ
62900c62be
fix(studio): Ensure null-termination of layer name read from settings
...
This fixes the string leak when a layer name is changed to a longer one,
but is discarded and reverted to the original shorter one from ZMK Studio.
2024-09-18 10:53:23 -06:00
Andrew Kannan
c8c8835a19
fix(studio): Update position map querying
2024-09-17 23:29:08 -06:00
Peter Johanson
a9167b2275
fix: Reduce RAM usage in the keymap
...
* When not building with runtime keymap support, make the keymap
const.
2024-09-16 23:20:14 -06:00
Peter Johanson
32d0a4bf41
fix: Fix wakeup from kscan wrapped in sideband.
...
* If using a sideband kscan device to wrap a native kscan device,
ensure the inner kscan device is also wakeup enabled to it can
be waken from a deep sleep state by key press.
2024-09-16 15:17:26 -06:00
Abe Nonym
92745903c9
fix(ble): Properly compile with clear bonds on start
2024-09-16 12:06:34 -04:00
Maxime Vincent
67d595f29f
pre-commit: re-format using clang-format hook (v18.1.8)
2024-09-13 16:04:26 -06:00
Maxime Vincent
82a22d731b
pre-commit: use versioned clang-format hook (v18.1.8)
2024-09-13 16:04:26 -06:00
Jim Aho
6e03a0bb67
fix(docs): Fix wording in layers section in keymaps ( #2474 )
2024-09-12 13:57:19 -07:00
Peter Johanson
6b4d591c37
fix(bt): Fix compilation failure for clearing bonds.
...
* Refactor broke the build when clearing bonds on start.
2024-09-09 11:26:53 -06:00
Nicolas Munnich
1c48f64730
fix(docs): Fix broken anchor in Studio setup ( #2465 )
2024-09-07 09:26:24 -07:00
Nicolas Munnich
f0319fde94
docs(feat): Added a page on shift registers ( #2452 )
...
Added a page on shift registers
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-09-07 13:19:01 +02:00
Pete Johanson
d52bb04090
Revert "feat: Split physical layout selection sync."
...
This reverts commit 03b5b38bc4 .
2024-09-07 00:22:01 -06:00
Grazfather
58207fdb2c
fix(docs): Mention display-name property in layer docs ( #2460 )
2024-09-06 20:03:23 -07:00
Alexander Krikun
cddc92108c
fix(boards): add sleep pinctrl node for nice!60
...
Add spi3_sleep pinctrl node to fix nice!60 builds with
both RGB underglow and sleep enabled.
2024-09-06 13:04:22 -06:00
honorless
a2f32cc12c
refactor(shield): tidbit
...
* Implement alternative matrix-transform.
* Add missing wakeup-source attribute.
* Revise README to provide more appropriate information.
* Remove unnecessary files (partially-functional shield).
2024-09-06 13:02:15 -06:00
Robert U
2a137bb675
fix: Support west test when invoked as module
2024-09-06 14:56:40 -04:00
dependabot[bot]
ba6f21fd2b
chore(deps): bump tj-actions/changed-files from 44 to 45
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44 to 45.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v44...v45 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-06 12:51:29 -06:00
ReFil
91447ac55c
fix: Correct max brightness in backlight metadata
...
The set brightness function in the backlighting code has a max of 100, as does the zephyr led-pwm driver https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/led/led_pwm.c
The range for the set brightness function should reflect this max
2024-09-06 14:36:08 -04:00
honorless
eaa8989f37
style: update commented-out obsolete keycodes
2024-09-06 12:22:54 -06:00
honorless
e0ec2ff84d
refactor: update obsolete keycodes
2024-09-06 12:22:54 -06:00
Peter Johanson
03b5b38bc4
feat: Split physical layout selection sync.
...
* Ensure the split peripherals have the same selected physical
layout on connection and change.
2024-09-06 12:20:45 -06:00
Peter Johanson
3975d2fdaf
feat: Add studio related documentation.
...
* Document setting up studio for a new keyboard definition.
* Document how to enable ZMK Studio for a build, adding reserved layers,
and controlling which behaviors are built into a studio firmware.
* Document `&studio_unlock` behavior.
* Document studio configuration options.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-09-05 12:22:08 -06:00
Peter Johanson
5176fbea6a
fix: Locking fix for RPC subsystem.
2024-09-05 12:22:08 -06:00
Peter Johanson
782695f4a9
fix: Fixes for CRC16 local IDs.
2024-09-05 12:22:08 -06:00
Peter Johanson
e0339a2a57
feat: Add shared layout .dtsi files to promote reuse.
...
* Add Corne and Ferris shared layouts, and update the respective
shields to use them.
* Add a sample Hummingbird physical layout for testing posix xiao.
* Add Sofle physical layout as an additional reference.
2024-09-05 12:22:08 -06:00
Peter Johanson
b84436e611
feat: Add posix_pro_micro and posix_seeed_xiao shields
...
* Make it easier to test native builds of our shields by adding
`posix_pro_micro` and `posix_seeed_xiao` so you can build posix
target of, e.g. `corne_left` for testing ZMK Studio.
2024-09-05 12:22:08 -06:00
Peter Johanson
fd28eab179
feat: Add the ability to keep/omit behaviors for a given build.
...
* Use defines to keep either all behaviors with omits, or selective behaviors with
explicit kept behavior, before including `behavior.dtsi` in keymaps.
* Default ZMK_BEHAVIORS_KEEP_ALL when building with the studio RPC
endpoint snippet.
2024-09-05 12:22:08 -06:00
Peter Johanson
d77e400eb9
feat(boards): Add posix MiniVan studio tester
...
* New shield to easily test studio using the `native_posix_64` board.
2024-09-05 12:22:08 -06:00
Peter Johanson
c8c19598a7
feat(keymap): Add binding get/set, layer movement
...
* Add keymap API for getting/setting a bindings
in keymap layers.
* Add layer move support via intemediary ordering array.
* Add settings storage for keymap changes.
2024-09-05 12:22:08 -06:00
dependabot[bot]
0f972f1cc3
chore(deps): bump web-tree-sitter from 0.20.8 to 0.23.0 in /docs
...
Bumps [web-tree-sitter](https://github.com/tree-sitter/tree-sitter ) from 0.20.8 to 0.23.0.
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases )
- [Changelog](https://github.com/tree-sitter/tree-sitter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.20.8...v0.23.0 )
---
updated-dependencies:
- dependency-name: web-tree-sitter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-01 22:57:37 -07:00
Nicolas Munnich
266227b580
refactor(docs): Refactor the development section ( #2438 )
2024-09-01 21:54:19 -07:00
Cem Aksoylar
aae4feeda8
chore(deps): npm update on docs
2024-09-01 21:37:47 -07:00
Cem Aksoylar
b74cd39ab5
chore(blog): Use truncate markers
2024-09-01 00:15:23 -07:00
Cem Aksoylar
0120156002
refactor(blog): Use global authors
2024-09-01 00:15:23 -07:00
Cem Aksoylar
745b960593
fix(docs): Fix broken anchors
2024-09-01 00:13:46 -07:00
dependabot[bot]
882226e261
chore(deps-dev): bump webpack from 5.89.0 to 5.94.0 in /docs
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.89.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.89.0...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-31 17:13:32 -07:00
dependabot[bot]
d74896d780
chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /docs
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-31 17:06:43 -07:00
Mike Szczys
f019524600
fix(display): widgets: increase buffer size for symbols
...
Increase buffer size used for placing LVGL symbols on displays. This
prevents array overflow warnings as discussed in #2444 .
Also convert one sprintf to snprintf to ensure the buffers are always
null terminated and never overflow.
Signed-off-by: Mike Szczys <szczys@hotmail.com >
2024-08-28 00:35:28 -06:00
Anant Thazhemadam
6946ca8b07
fix(docs): minor corrections and fix typo ( #2443 )
...
* docs(faq): minor corrections
* docs: fix typo - `s/Alterative/Alternative`
* docs(faq): use Lily58 as an example instead of Corne with revision
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
---------
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-08-27 16:23:15 +02:00
William Brockhus
b866ec031f
fix(docs): Fixing wording in the split keyboards feature page ( #2440 )
2024-08-25 09:31:21 +02:00
Nicolas Munnich
5f056f7199
refactor(docs): Convert the keymaps section into a base folder ( #2430 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-08-21 10:39:18 -07:00
Nicolas Munnich
503f6c8e58
feat(docs): Add and modify docs to point users to the experimental zmk-cli ( #2431 )
...
Co-authored-by: Joel Spadin <joelspadin@gmail.com >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-08-21 10:36:23 -07:00
Peter Johanson
b735a051ce
fix(docs): Admonition formatting fix.
2024-08-15 12:51:38 -06:00
Peter Johanson
d5061c5d3b
fix: Make CRC behavior local ID select CRC.
2024-08-15 11:45:18 -06:00
Peter Johanson
6ae6bf78b4
fix(boards): BDN9 rev2 tweaks.
...
* Reduce RAM usage, no need for heap any more in ZMK.
* Don't attempt to enable FPU that's not present.
2024-08-15 11:45:18 -06:00
Peter Johanson
fb67e4603a
feat: Add studio core coverage targets.
...
* Cover stm32, RP2040, and nRF52 builds.
2024-08-15 11:45:18 -06:00
Peter Johanson
bafe648425
feat: Add &studio_unlock behavior.
...
* New behavior allows unlocking the keyboard to allow ZMK Studio to
make changes.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-08-15 11:45:18 -06:00
Peter Johanson
b1bcc3e418
feat(studio): Add studio-rpc-usb-uart snippet.
...
* Add an easy snippet for enabling USB UART added
to the `zephyr_udc0` standard node.
2024-08-15 11:45:18 -06:00
Peter Johanson
feda96eb40
feat(studio): Initial RPC infrastructure and subsystems.
...
* UART and BLE/GATT transports for a protobuf encoded RPC
request/response protocol.
* Custom framing protocol is used to frame a give message.
* Requests/responses are divided into major "subsystems" which
handle requests and create response messages.
* Notification support, including mapping local events to RPC
notifications by a given subsystem.
* Meta responses for "no response" and "unlock needed".
* Initial basic lock state support in a new core section, and allow specifying
if a given RPC callback requires unlocked state or not.
* Add behavior subsystem with full metadata support and examples of
using callback to serialize a repeated field without extra stack space needed.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-08-15 11:45:18 -06:00
Cem Aksoylar
ea64fcaf71
fix(docs): Note direct pin use in matrix transform
2024-08-15 10:38:10 -07:00
dependabot[bot]
6fe13c9565
chore(deps-dev): bump eslint-plugin-mdx from 2.3.3 to 3.1.5 in /docs ( #2128 )
...
Bumps [eslint-plugin-mdx](https://github.com/mdx-js/eslint-mdx ) from 2.3.3 to 3.1.5.
- [Release notes](https://github.com/mdx-js/eslint-mdx/releases )
- [Changelog](https://github.com/mdx-js/eslint-mdx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mdx-js/eslint-mdx/compare/eslint-plugin-mdx@2.3.3...eslint-plugin-mdx@3.1.5 )
---
updated-dependencies:
- dependency-name: eslint-plugin-mdx
dependency-type: direct:development
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>
2024-08-15 16:15:39 +02:00
dependabot[bot]
08988ec7da
chore(deps): bump braces from 3.0.2 to 3.0.3 in /docs ( #2337 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 16:14:45 +02:00
LostQuasar
b42d06ecf7
chore: Update pancake shield url
2024-08-14 14:38:38 -04:00
down
895f557ae5
fix: no error return in sticky key get_parameter_metadata
2024-08-14 12:34:18 -06:00
Cem Aksoylar
96cd3a1ce2
refactor(docs): Remove unnecessary jsx includes
2024-08-13 23:03:15 -07:00
Cem Aksoylar
4faeb365b1
feat(docs): Add keyboard vs consumer variants note
2024-08-13 23:03:15 -07:00
Cem Aksoylar
ba0dee088f
feat(docs): Add section on nesting mod-morphs
...
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-08-13 14:56:07 -07:00
Cem Aksoylar
0d15ae84f4
fix(docs): Fix mod-morph terms from keycodes to bindings
2024-08-13 14:56:07 -07:00
Cem Aksoylar
8b909acdcf
refactor(docs): Add subheaders for devicetree error types
2024-08-13 11:11:27 -07:00
Cem Aksoylar
3de8a56fcb
feat(docs): Add a note on column numbers for DTS errors
2024-08-13 11:11:27 -07:00
Cem Aksoylar
00e4818094
fix(docs): Fix broken anchor in reset behaviors
2024-08-13 10:51:40 -07:00
Nicolas Munnich
049c070b3a
feat(docs): Minor improvements to the docs ( #2411 )
2024-08-13 10:47:45 -07:00
Peter Johanson
fb3af5327e
fix: Fix hardware metadata validation after image changes.
...
* Newer Docker image requires --break-system-packages for pip.
2024-08-13 07:38:11 -07:00
Pete Johanson
6d50ba5553
chore: Docs review tweaks.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-08-12 16:57:54 -07:00
Peter Johanson
3fec690def
feat: Add config settings for sticky keys/hold-tap
...
* Add new Kconfig symbols to config max held sticky-keys/hold-taps
and for max captured events during hold-tap resolution.
2024-08-12 16:57:54 -07:00
Cem Aksoylar
2eff266f5b
feat(docs): Add battery life remark for split keyboards
2024-08-07 23:57:58 -07:00
Cem Aksoylar
2a0708d1fc
feat(docs): Add locality warning for nested behaviors
2024-08-07 23:57:58 -07:00
Cem Aksoylar
2501f1f548
feat(docs): Add references to new split keyboards page
2024-08-07 23:57:58 -07:00
Cem Aksoylar
d75e388593
feat(docs): Add split keyboards feature page
...
Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com >
2024-08-07 23:57:58 -07:00
Peter Johanson
cd25c12ce9
fix: Proper device PM support for composite kscan.
...
* Clean up composite kscan to allow multiple instances properly.
* Implement PM hook and properly suspend/resume the child devices.
Fixes : #2388
2024-08-03 13:45:51 -07:00
Peter Johanson
78ed721c36
fix(pm): Properly configure a wakeup as input.
...
* Other drivers properly disconnect/de-config pins now, so we need
to be sure the wakeup trigger connects the wake pin as input.
2024-08-02 16:37:11 -07:00
Cem Aksoylar
47a6715aa6
fix(docs): Fix toggle layer docs
2024-08-02 11:17:10 -07:00
Cem Aksoylar
b9a025c76e
fix(docs): Document number of peripherals Kconfig ( #2389 )
...
Fixes #2373
2024-08-02 18:57:15 +02:00
Cem Aksoylar
b080befebb
fix(docs): Fix link for matrix transform
2024-08-02 09:55:20 -07:00
Nicolas Munnich
9e7fcde868
feat(docs): Improve the layers-related documentation ( #2390 )
...
Fixes #1284
2024-07-31 20:53:36 -07:00
Nicolas Munnich
f92dce43e9
feat(docs): Add modules feature page ( #2380 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-07-25 12:08:08 -07:00
Nicolas Munnich
97294aa341
chore: Add a recommended extension for .mdx files ( #2381 )
2024-07-25 12:00:55 -07:00
Nicolas Munnich
fd152baff0
feat(docs): Add troubleshooting notes on experimental bluetooth options ( #2387 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-07-25 12:00:22 -07:00
Cem Aksoylar
7bd74a6b0f
fix(docs): Add required display-name in physical layout examples
2024-07-14 16:59:15 -07:00
Peter Johanson
8c6bda260a
fix: Proper behavior metadata for key repeat/toggle
2024-07-05 15:38:04 -06:00
Peter Johanson
3694ff85a0
fix: Fix up layer metadata, move to layer IDs.
...
* Studio will use stable layer IDs to refer to layers, so that
layer reordering doesn't affect behavior bindings, so update to match.
* Fix a few layer metadata entries that missed being refactored.
2024-07-05 13:13:42 -06:00
Peter Johanson
e01f13f9f0
fix: Fix external power settings load issue.
...
* Because settings load is delayed now, enable external
power on init, and let it be disabled on settings load
later, to ensure power is on early for
other peripheral initialization.
Fixes : #2361
2024-07-04 17:20:40 -06:00
Peter Johanson
82eed0f5dd
feat(boards): Add flash/settings to XIAO RP2040.
...
* Add storage partition.
* Default necessacy Kconfig symbols for flash/settings.
2024-07-03 16:57:22 -06:00
Peter Johanson
b4f9081b09
docs: Updated new shield documentation for physical layouts.
...
* Document how to define one or more physical layouts and assign
the chosen one.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-07-03 16:52:05 -06:00
Peter Johanson
5fcf092901
refactor(shields): Set ZMK Uno physical layouts.
...
* Add physical layout definitions for uno and split uno shields.
2024-07-03 16:52:05 -06:00
Peter Johanson
74f7fe921b
fix(splits): Increase split notify stack size.
2024-07-03 16:52:05 -06:00
Peter Johanson
0438cb0ee5
feat(kscan): More complete PM support to drivers.
...
* Update our GPIO kscan drivers to more completely support PM device,
by doing proper hardare init/deinit in the PM action hook.
2024-07-03 16:52:05 -06:00
Peter Johanson
c5cca5b34f
feat: Add keyboard physical layout system.
...
* Add bindings to allow creating multiple physical layouts that specify
their key's physical attributes, and the matching matrix transform
and dependant kscan to use.
* Synthesize a basic physical layout if none specified, for backwards
compatibility.
* Update matrix transform API to explicitly pass in the selected transform
to the API instead of using a fixed chosen transform.
* Move kscan subscription and handling into the physical layout code, so
that selecting a different physical layout at runtime can also use the
correct kscan instance.
* Add `physical_layouts.dtsi` file to include so you can use the
pre-configured `&key_physical_attrs` for adding you layout keys.
2024-07-03 16:52:05 -06:00
Peter Johanson
80173f8ea3
fix: Improve startup time with proper settings loading.
...
* Avoid doing duplicate calls to setings_load_subtree, which iterates
NVS fully each time under the hood, and instead use on settings_load
later in the lifecycle.
2024-07-03 16:24:17 -06:00
Peter Johanson
f18974e8c4
fix: Adjust hid indicator listeners for event refactor
...
* Avoid static listener to prevent subscription
issue.
2024-07-01 12:32:04 -06:00
ReFil
f2ea1da036
fix(boards): Suppress devicetree warning
...
nRF5x boards throw a spurious warning for duplicate unit-address when the devicetree gets processed
Upstream issue: https://github.com/zephyrproject-rtos/zephyr/issues/29713
Warning suppressed as per: https://docs.zephyrproject.org/latest/build/dts/intro-input-output.html
2024-06-30 12:59:46 -04:00
Peter Johanson
96e55c8be6
fix: BLE refactor mouse keys fix.
2024-06-28 17:48:45 -06:00
Peter Johanson
483a4930e9
feat(behaviors): Add local ID system for behaviors
...
* Add a new feature for tracking a given behavior by a new concept
of a "behavior local ID" which is a stable 16-bit identifier for
a given behavior, that is resilient to new behaviors being added
and requires no additional work on the part of the behavior
authors.
* Add implementations for either settings lookup table, or CRC16
hashing of behavior device names for generating behavior local
IDs.
2024-06-28 15:10:32 -06:00
Peter Johanson
f7c34c70ba
refactor(ble): Extract API to get active profile connection.
...
* Add `struct bt_conn *zmk_ble_active_profile_conn(void)` function for
fetching a connection for the current profile.
2024-06-28 14:43:17 -06:00
Peter Johanson
b576d52d58
feat(core): Support adding subs to other listeners.
...
* Used for ZMK Studio event remappers to be sure the one
RPC event listener subscribes to their mapped events.
2024-06-28 14:36:25 -06:00
Peter Johanson
49f7275beb
fix: Add metadata to missed behaviors.
2024-06-25 12:11:32 -06:00
Timoyoungster
29599e8b0a
docs: hopefully more clear description of the new setting
2024-06-24 14:26:14 -06:00
Timoyoungster
10d03ca46c
fix: adding option to separate implicit mod release from key release
...
This adds a new config value `ZMK_HID_SEPARATE_MOD_RELEASE_REPORT`
where, if enabled, the report for a key release is sent separately to
the accompanying modifier release signals, which are then sent in a
second report.
This fixes an issue where certain applications are unable to work with
implicitly modified keys (e.g. colon) due to them registering the
modifier release prior to the actual key release.
Have tested this on my personal keyboard and `wev` now shows the signals
in the correct order.
=> **Previously:** ```LSHIFT (pressed) -> colon (pressed) -> LSHIFT
(released) -> **semi**colon (released)```
=> **Now:** ```LSHIFT (pressed) -> colon (pressed) -> colon (released)
-> LSHIFT (released)```
(This time without accidental files)
2024-06-24 14:26:14 -06:00
honorless
4dce096161
docs: improve settings_reset link
2024-06-24 13:18:56 -07:00
honorless
9c6d1af102
ci(build): limit run scope
...
* Cancel redundant non-nightly runs and jobs dependent on canceled jobs.
* Limit scheduled runs to zmkfirmware-owned repos.
2024-06-24 13:41:03 -06:00
honorless
7c9477be6e
ci(build): improve security posture
...
* Limit unnecessary permissions.
* Avoid storing credentials.
2024-06-24 13:41:03 -06:00
honorless
0bea7832e9
ci(build): amend changed-files invocation
2024-06-24 13:41:03 -06:00
Peter Johanson
3e2c428fca
chore: Add rp2040/USB logging core coverage.
...
* Include an rp2040 core build target, and include USB logging snippet
for completeness.
2024-06-24 11:11:51 -06:00
Peter Johanson
03099b04b6
feat(behaviors): Add behavior metadata information.
...
* For upcoming ZMK studio work, make a set of rich metadata available
to provide a friendly name for a behavior, and allow super flexible
descriptions of the parameters the behaviors take.
* Add ability to validate a zmk_behavior_binding against
the behavior metadata available.
2024-06-24 11:08:00 -06:00
Peter Johanson
7cdf1e42ea
fix: Actually add the zmk-usb-logging snippet.
...
* D'oh.
2024-06-24 10:54:07 -06:00
Peter Johanson
7be955ff72
fix(usb): Ensure USB init is last
...
* To avoid USB init issues due to other initialization disrupting
USB setup, move USB setup to a lower priority.
2024-06-21 13:29:12 -06:00
Peter Johanson
a080b5287f
refactor: Remove static CDC ACM logging nodes.
...
* To avoid spurious CDC ACM instances when usint CDC ACM for something
other than logging, move to the approach used by Zephyr of using a
snippet to redirect console output to a CDC ACM node added by the
snippet. Remove all the existing static CDC ACM nodes.
* Add new `zmk-usb-logging` snippet that mirrors the upstream
`cdc-acm-logging` snippet, but still does our extra USB logging
configuration.
* Updated logging docs accordingly.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-06-20 12:06:13 -06:00
Cem Aksoylar
7c09eb217e
refactor(docs): Document and enforce header casing conventions
2024-06-17 11:46:32 -07:00
Cem Aksoylar
e56db304ea
refactor(docs): Split up troubleshooting page into a section
2024-06-17 11:46:32 -07:00
Nicolas Munnich
308d6bce6e
feat(docs): Improve the toolchain setup page ( #2272 )
...
Split the toolchain setup into separate docker and native pages
and improve instructions to better refer to Zephyr docs in certain steps.
Also refactor to improve consistency and add virtualenv instructions.
---------
Co-authored-by: KemoNine <mcrosson@kemonine.info >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-06-01 21:51:08 -07:00
Nicolas Munnich
2d96f469c8
fix(docs): Removing to-to typos ( #2310 )
2024-05-25 22:16:33 -07:00
German Gutierrez
2ee76be6fe
fix(soft_off): central waits 100ms in split if hold_time enabled
2024-05-13 17:43:35 -04:00
Joel Spadin
f0b20c1c93
feat(boards): Add nRF52 high voltage DC/DC config
...
Added a Kconfig option to enable SOC_DCDC_NRF52X_HV for nice_nano_v2
and mikoto. According to Nordic's documentation, the DC/DC regulator is
more efficient than the LDO regulator, so this is enabled by default.
The following boards do not support this mode and were not changed:
- nice_nano
- nice60
- nrfmicro_11, nrfmicro_13
- nrf52840_m2
- bluemicro840
I could not find schematics to confirm whether the following boards
support this mode:
- bt60_v1, bt60_v2
- bt65_v1
- bt75_v1
- corneish_zen_v1, corneish_zen_v2
- pillbug
- puchi_ble_v1
- s40nc
2024-05-13 14:14:50 -07:00
dependabot[bot]
8f5c7bbfd4
chore(deps): bump pre-commit/action from 3.0.0 to 3.0.1
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-13 14:07:13 -07:00
Horu
7d1f84e3eb
chore: fix typos in various places
2024-05-13 16:47:33 -04:00
ReFil
4dfc45d4ab
feat(docs): Document example toggle-mode implementation
...
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-05-03 14:17:09 -04:00
ReFil
2423136788
fix(boards): Fix pulls on ZMK uno toggle switch
...
The devicetree pulls always add on to the extra pulls configured by toggle mode, so these should not have pulls defined in the devicetree. Saved ~200uA avg on another board with a 3t toggle switch
2024-05-03 06:55:43 -07:00
Peter Johanson
af908826cd
fix: Initialize sideband kscan in APPLICATION.
...
* In order to be sure the rest of the system is fully ready before
intializing, because init may result in immediate events being
triggered when used with toggle direct kscan inner devices.
2024-05-01 11:35:54 -07:00
German Gutierrez
d1ad34761a
fix: shortening keymap_soft_off behavior node
...
* Shorten the soft off node in order for it to work across splits.
2024-04-29 12:22:40 -04:00
Jarryd Tilbrook
0d3a4b7bbb
fix(underglow): Correctly set underglow state
...
This fixes a bug introduced in #2244
2024-04-25 07:26:26 -07:00
Pablo Martínez
4d566853af
fix(rgb): auto-off logic
2024-04-25 04:55:42 -04:00
Sadek Baroudi
f4a070aacf
fix(boards): nrf boards missing SPI in pinctrl and dtsi, requiring users to manually define in their shield definitions if they wanted to use SPI
2024-04-25 00:54:44 -07:00
Peter Johanson
16e92cf665
fix(behaviors): Add multiple soft-off instances properly.
...
* Properly pass the node id for the unique
soft-off behavior instance when defining it.
2024-04-17 23:53:12 -07:00
Keeley Hoek
e22bc7620c
fix(hid): Correct off-by-one buffer overflow with NKRO
2024-04-09 23:20:20 -07:00
Cem Aksoylar
a9021deef6
fix(docs): Add wakeup-source to split new shield example
2024-04-09 16:27:27 -07:00
Cem Aksoylar
dfc6dc84b8
fix(docs): Make clear the matrix transform example is incomplete
2024-04-09 16:27:27 -07:00
Cem Aksoylar
7a51a46b9f
feat(docs): Add pointer to shields folder in new shield docs
2024-04-09 16:27:27 -07:00
Xudong Zheng
849eca7228
refactor(underglow): fix uninitialized variable warning
2024-04-09 15:57:34 -07:00
フィルターペーパー
7d5aa0c0bf
feat(docs): Update section for devicetree_generated error
2024-04-04 18:31:09 -07:00
Tobias Arndt
fe509c466f
fix(kscan): Enable charlieplex interrupts for single compatible device
...
Fixes #2201
2024-03-30 19:13:39 -07:00
Tobias Arndt
e7d6519534
fix(docs): Fix and note GPIO flags for charlieplex config
2024-03-30 19:13:39 -07:00
Cem Aksoylar
eb5a6fcfe1
refactor(docs): Split DT props table for sensor rotate variants
2024-03-30 17:03:51 -07:00
Cem Aksoylar
e65a1227d8
fix(docs): Correct property types for behavior bindings
2024-03-30 17:03:51 -07:00
zhiayang
4bef4e98f5
feat(boards): Support board revisions in setup scripts.
...
* Make setup.sh/ps1 prompt for board revision for boards that have revisions
2024-03-30 19:12:37 -04:00
Peter Johanson
fff1cbecdc
fix: Add wakeup-source; to kscan nodes for ZMK_SLEEP.
...
* ZMK_SLEEP also enables PM_DEVICE, so be sure to mark kscan
nodes as wakeup sources so they can wake keyboards from sleep.
2024-03-29 12:31:43 -07:00
dependabot[bot]
d672b0c705
chore(deps): bump react-toastify from 7.0.4 to 10.0.5 in /docs
...
Bumps [react-toastify](https://github.com/fkhadra/react-toastify ) from 7.0.4 to 10.0.5.
- [Release notes](https://github.com/fkhadra/react-toastify/releases )
- [Commits](https://github.com/fkhadra/react-toastify/compare/v7.0.4...v10.0.5 )
---
updated-dependencies:
- dependency-name: react-toastify
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-28 10:41:56 -07:00
dependabot[bot]
18b86b7720
chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /docs
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-28 10:31:21 -07:00
dependabot[bot]
25bb126a11
chore(deps): bump express from 4.18.2 to 4.19.2 in /docs
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-28 10:22:10 -07:00
dependabot[bot]
34910787ff
chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /docs
...
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases )
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4 )
---
updated-dependencies:
- dependency-name: webpack-dev-middleware
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-28 10:15:51 -07:00
Peter Johanson
f9bb18b676
fix(docs): Add &soft_off to behaviors index.
2024-03-27 22:52:32 -07:00
Peter Johanson
e66f068fb5
fix(docs): Minor soft-off docs tweaks from review.
2024-03-27 20:59:26 -07:00
Peter Johanson
29c0cdb3ab
fix(shields): Fix for direct use with ZMK Uno split.
2024-03-27 20:59:26 -07:00
Peter Johanson
7e7110d85f
fix(pm): Fixes for dedicated on/off on peripherals.
...
* Add new flag to differentiate soft off on peripherals that
is invoked by split GATT svc and dedicated additional ones
tied to GPIO pin.
2024-03-27 20:59:26 -07:00
Peter Johanson
41d81801ed
fix(pm): Use Zephyr created device slots.
...
* Avoid overwriting random memory by using
iterable section created by Zephyr PM.
2024-03-27 20:59:26 -07:00
Peter Johanson
d0e0ecb4e3
refactor: Use kscan directly to wake when we can.
...
* When adding a dedicated GPIO pin for soft off/on, use the direct
kscan as the waker, instead of adding an additional node.
2024-03-27 20:59:26 -07:00
Peter Johanson
2df6dcd973
feat(behaviors): More logging in soft off.
2024-03-27 20:59:26 -07:00
Pete Johanson
fa9ea9ea8b
fix(docs): Fix soft off waker prop name, headers.
...
* Use the correct property for extra GPIOs to
make active for the waker before going into soft
off state.
* Change header depth for easier navigation of the
soft off feature page.
Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com >
2024-03-27 20:59:26 -07:00
Peter Johanson
bb94a7aafe
fix: Fixes for building soft off without deep sleep.
2024-03-27 20:59:26 -07:00
Peter Johanson
cac999b1d6
feat: Updated soft-off docs.
...
* Document new sideband behavior kscan driver for integrated
soft-off support.
2024-03-27 20:59:26 -07:00
Peter Johanson
8d54e287f0
fix: Adjustments for Zephyr 3.5.
2024-03-27 20:59:26 -07:00
Peter Johanson
bd21f41412
refactor: Fixes for review feedback.
2024-03-27 20:59:26 -07:00
Peter Johanson
5d960a758f
fix: Cleanups of sideband and direct kscan from review.
...
* Add dedicated init priority for the sideband kscan.
* Refactor sideband code for clarity.
* Tweaks to direct kscan for clarity.
* Make sideband behavior row optional for brevity.
* Allow overriding ZMK Uno sideband behaviors.
2024-03-27 20:59:26 -07:00
Peter Johanson
4198fac90f
fix(pm): Fix deep sleep with sideband behaviors.
...
* Properly implement the PM hook needed for sideband behavior
kscan device to have wakeup source enabled on it.
2024-03-27 20:59:26 -07:00
Peter Johanson
09111f1cf3
fix: Sleep after clearing endpoints to wait for send.
...
* Add a small sleep to allow other threads to send data for the
endpoint clearing before sleep.
2024-03-27 20:59:26 -07:00
Peter Johanson
c3144055e8
refactor(boards): Move ZMK Uno 1P3T slider to sideband
...
* Invoke output selection from the slider on the ZMK Uno via
sideband behavior setup, to simplify keymap.
2024-03-27 20:59:26 -07:00
Peter Johanson
a0ad1d4c94
refactor: Add kscan sideband behavior driver
...
* Instead of gpio key behavior trigger, add new kscan driver that
decorates/wraps a given kscan driver and will invoke basic system
behavior assigned to a given row + column, without the need for keymap
mapping in the matrix transform, bypassing keymaps entirely.
2024-03-27 20:59:26 -07:00
Peter Johanson
e78b25a445
feat(kscan): Direct kscan driver can use gpio-keys.
...
* Allow specifying direct kscan driver pins using gpio-key list
as an alternative.
2024-03-27 20:59:26 -07:00
Pete Johanson
933fdcd364
refactor(pm): Remove scanned behavior trigger.
...
* Remove the painful scanned behavior trigger for now, future enhancement
will restore this high level functionality using kscan directly.
2024-03-27 20:59:26 -07:00
Pete Johanson
5ebe924e94
chore: Various soft-off review fixes
...
* Code style to avoid goto.
* Enable pm.c compilation via dedicated Kconfig flag.
* Comment wakeup trigger PM behavior.
2024-03-27 20:59:26 -07:00
Peter Johanson
fceb0351a5
refactor: Fixes for soft-off based on review.
...
* Better naming for gpio-key behavior triggers.
* Tweaks to scanned behavior trigger to avoid bad semaphore use,
and reduce chance of issues with slowly scanned matrixes.
* Various code cleanups of style issues.
2024-03-27 20:59:26 -07:00
Pete Johanson
96968514e3
fix(docs): Apply suggestions from code review
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-03-27 20:59:26 -07:00
Peter Johanson
e78249ee06
fix(bt): Fix BT tests after soft off work.
...
* Move to explicit enable of `ZMK_PM_SOFT_OFF` to turn
on the feature and use the behaviors, which matches
how other features work, and helps with split and
testing schemes.
2024-03-27 20:59:26 -07:00
Peter Johanson
0d4d4fb2b5
feat(pm): Clear HID data before soft off.
...
* Make sure the connected host has no held HID usages before we sleep.
2024-03-27 20:59:26 -07:00
Peter Johanson
860e53b33a
refactor: Promote new endpoints API
...
* Add ability for external callers to clear the current endpoint.
2024-03-27 20:59:26 -07:00
Peter Johanson
d3fffb9e89
feat(shields): Add soft-off to the nrf52840dk ZMK Uno
...
* Use Button 1 for soft off on the nrf52840 when using the ZMK Uno
shield.
2024-03-27 20:59:26 -07:00
Peter Johanson
b19df0cbf0
feat(behaviors): Add soft off behavior.
...
* New soft-off behavior that can be used to force the device
into soft-off state with only certain configured wakeup
devices.
2024-03-27 20:59:26 -07:00
Peter Johanson
738c3c0e3b
feat(kscan): Add PM support to GPIO kscan drivers.
...
* Add PM device hook to the kscan direct & matrix drivers.
2024-03-27 20:59:26 -07:00
Peter Johanson
adb3a13dc5
feat: Add soft on/off support.
...
Initial work on a soft on/off support for ZMK. Triggering soft off
puts the device into deep sleep with only a specific GPIO pin
configured to wake the device, avoiding waking from other key
presses in the matrix like the normal deep sleep.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-03-27 20:59:26 -07:00
Thomas Huber
58ccc5970d
fix(build): Modify function return type
...
Change return type of `sticky_key_timeout` function to `void` given it
does not return any value to remove compiler warnings.
2024-03-27 14:52:42 -07:00
Thomas Huber
e806cd6da1
feat(gitignore): add clangd cache folder
2024-03-27 14:41:26 -07:00
Peter Johanson
94c3b9a246
feat(build): Allow specifying snippets for a build.
...
* Allow using snippets https://docs.zephyrproject.org/latest/build/snippets/using.html
for user builds in a `snippets` array properly.
2024-03-24 18:44:54 -07:00
Cem Aksoylar
c684cee76f
refactor(docs): Refer to overview page for behaviors
2024-03-24 18:29:29 -07:00
Thomas Huber
f2d8b9b0a3
feat(docs): Add Behavior overview page
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-03-24 17:50:33 -07:00
Peter Johanson
44358798d3
feat: Add ability to fetch battery voltage.
...
* To be able to use the Zephyr `voltage-divider` driver,
add a mode for fetching raw voltage from the sensor
and do state of charge calculation outside of the driver.
2024-03-24 13:28:55 -07:00
Cem Aksoylar
931a36ff4a
feat(docs): Add a note on using BT with dual boot systems
2024-03-20 11:49:23 -07:00
Peter Johanson
3a3eed2960
fix: Add settings reset on start init priority.
...
* Add a dedicated settings reset on start init priority and default
it to lower priority (high number) than default FLASH_INIT_PRIORITY
to be sure flash is initialized before we open the area.
2024-03-20 11:18:43 -07:00
フィルターペーパー
1f7cd7a107
feat(docs): Add troubleshooting section for empty_file error
2024-03-19 23:48:57 -07:00
Theo Lemay
828943156a
fix(docs): Fix hold-tap info callout ( #2211 )
...
The hold-while-undecided callout does not properly render in the docs. This fixes it.
2024-03-18 15:34:45 -07:00
フィルターペーパー
736c5fb46e
feat(docs): Add a note on macOS v14.3 file copy error message
2024-03-18 10:38:09 -07:00
Theo Lemay
ce743f2b35
chore: fix whitespace
2024-03-18 10:30:14 -07:00
Theo Lemay
af7e4198ae
chore: remove label in test
2024-03-18 10:30:14 -07:00
Theo Lemay
94d9d837e3
refactor: extract duplicate logic
2024-03-18 10:30:14 -07:00
Theo Lemay
341534aa15
feat(behaviors): lazy sticky keys
2024-03-18 10:30:14 -07:00
Pablo
8929355ac0
fix(keymap): Replace some keypad keycodes
...
* Change KP_MULTIPLY to ASTRK in defaults keymap
2024-03-18 13:19:27 -04:00
honorless
6f2e19ff88
refactor: replace quick_tap_ms with quick-tap-ms
...
* The underscore form of this property is deprecated.
2024-03-18 10:15:50 -07:00
honorless
3a38979684
refactor: replace tapping_term_ms with tapping-term-ms
...
* The underscore form of this property is deprecated.
2024-03-18 10:15:50 -07:00
Hans Kruse
c6e0551fb0
fix(hid): Fix typo in HID usage alias
2024-03-18 13:06:09 -04:00
Cem Aksoylar
325e207781
feat(docs): Add pointers to HID descriptor refresh
2024-03-18 09:58:16 -07:00
Cem Aksoylar
aa6cfe250d
feat(docs): Document refreshing the HID descriptor
2024-03-18 09:58:16 -07:00
Cem Aksoylar
bddee70b6b
refactor(docs): Remove outdated Windows battery advice and unnecessary header
2024-03-18 09:58:16 -07:00
ReFil
388ad71385
feat(build): Explicit missing keymap node error
...
* Explicit error if zmk,keymap not set
* Document keymap error
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-03-18 12:54:47 -04:00
Joel Spadin
a77288f527
fix: Update settings reset for Zephyr 3.5
2024-03-18 09:48:19 -07:00
Joel Spadin
14b06a36bf
docs: Update settings_reset documentation
...
Updated the section for troubleshooting split halves unable to pair now
that the settings_reset shield resets all settings and explicitly
disables CONFIG_ZMK_BLE:
- Added a note that all settings will be reset.
- Removed the section about immediately putting the halves into
bootloader mode to prevent pairing, as this is not necessary anymore.
- Added a note that you will not be able to see or pair the Bluetooth
keyboard until you have flashed regular firmware again.
- Added a sentence to clarify that you will need to re-pair the
keyboard to all host devices.
Also added some text describing common scenarios where this procedure
might be needed.
2024-03-18 09:48:19 -07:00
Joel Spadin
1dfcfc7d3f
feat(shields): Make settings_reset shield reset all settings
...
Added a new CONFIG_ZMK_SETTINGS_RESET_ON_START option which enables init
code to call zmk_settings_erase(), and changed the settings_reset shield
to use it instead of CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START, so it now
resets all settings instead of just clearing BLE bonds.
CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START is left in place for now in case
someone still needs it. It may be replaced in the future once we find a
better way to repair a broken split connection.
2024-03-18 09:48:19 -07:00
Joel Spadin
610a806c84
feat: Add function to erase all settings
...
Added a zmk_settings_erase() function to clear all saved settings. This
does not go through Zephyr's settings subsystem, but instead directly
clears the data from the setting storage backend, so a reboot is needed
for it to take effect.
2024-03-18 09:48:19 -07:00
Peter Johanson
2adaa00d10
fix(build): Properly board revision keymaps.
...
* Handle board keymap location for boards with Zephyr
board revisions included.
* Includes bare non-revision file and a revision specific keymap
in case newer revision changes the layout/key positions.
2024-03-08 10:58:10 -08:00
Thomas Huber
08ab45fc78
feat(CONTRIBUTING.md): Add info regarding ESLint
2024-03-04 20:08:52 -08:00
Thomas Huber
37af94edde
feat(docs): Add warning to new shield docs how Kconfig treats whitspaces
...
Added a warning to the shield section explaining that Kconfig does
not ignore whitespaces on function calls and therefore adding whitespaces
after the comma will break functionality.
2024-03-04 20:08:52 -08:00
Andrew Kannan
db7b197790
fix(docs): Add underglow brightness min/max ( #2180 )
2024-02-28 10:39:04 -08:00
Theo Lemay
c9c620d19f
fix: inline initialise
2024-02-20 00:25:53 -08:00
Theo Lemay
8b20874c99
chore: remove label in test
2024-02-20 00:25:53 -08:00
Theo Lemay
c007d60357
feat(behaviors): hold while undecided
2024-02-20 00:25:53 -08:00
Xudong Zheng
104c73d303
refactor: address transport switch enumeration warning
...
When building without USB or Bluetooth, the compiler emits a warning due to
ZMK_TRANSPORT_USB or ZMK_TRANSPORT_BLE not being handled.
2024-02-19 21:41:52 -08:00
Seth Milliken
b44ec381f6
feat(boards): add encoder support to planck
2024-02-19 17:01:10 -08:00
honorless
ccf0380179
refactor: remove redundant Kconfig defaults
...
bool symbols implicitly default to n.
2024-02-19 16:39:31 -08:00
ton-im
c082f8d802
fix(boards): Add ext power init delay for nrfMicro
...
* Address issues with OLED init occurring before display is powered.
2024-02-19 19:32:12 -05:00
zhiayang
a9ae6796a0
fix(display): Proper initial display of battery status
...
* fix initial display of battery status on displays, and also fix a null deref
2024-02-19 19:15:19 -05:00
Peter Johanson
fda6a5f185
fix(boards): Tweaks for Ferris rev0.2 for Zephyr.
...
* Enable missing clock and set up USB pinctrl.
2024-02-17 21:57:21 -08:00
Dennis
604af2ebd3
feat(docs): Add pointers for peripheral battery monitoring ( #2177 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Fixes #2166
2024-02-17 21:51:09 -08:00
ctranstrum
0f49fa9ae4
fix(behavior): Proper init priority for ext_power.
2024-02-14 20:29:19 -05:00
Peter Johanson
c7fb418e88
fix(build): Used a fixed temp dir for caching.
...
* Improve GHA caching by using a fixed temporary directory
when using one.
2024-02-14 14:08:22 -08:00
honorless
40adb3858d
refactor(boards): remove superfluous conf settings
2024-02-10 16:15:09 -08:00
honorless
cdcf4ebfb6
feat(boards): allow use of blackpill_f401cc
2024-02-10 16:15:09 -08:00
Pete Johanson
f72f415c5b
fix(docs): More Zephyr docs link updates.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-02-09 14:32:46 -08:00
Peter Johanson
50a303b8bb
fix(pm): Restore sleep suspension of devices.
...
* After the move to `sys_poweroff`, restore the behavior of
suspending devices before entering sleep state.
2024-02-09 14:32:46 -08:00
Peter Johanson
1d83f279cd
fix(pm): Tweaks for deep sleep/PM.
...
* Restore enabling of PM_DEVICE, make ZMK_SLEEP work with
the ZMK Uno shield on nrf52840dk_nrf52840 board.
2024-02-09 14:32:46 -08:00
Peter Johanson
edc72c1166
chore(docs): Update Zephyr links to 3.5.0 versions.
2024-02-09 14:32:46 -08:00
Peter Johanson
4bcecd98f8
fix(display): Tweaks to memory Kconfig settings.
...
* Don't default heap mempool by default now that there's a dedicated
LVGL mempool
* Set proper defaults for CiZ display hardware/custom screen.
* Double the dedicated display thread stack size for CiZ.
2024-02-09 14:32:46 -08:00
Peter Johanson
2d6c9f797c
refactor(display): Move to proper SPI ready API.
2024-02-09 14:32:46 -08:00
Peter Johanson
18e5a1a26b
feat: Add Zephyr 3.5 blog post.
2024-02-09 14:32:46 -08:00
Peter Johanson
cd6f8a680c
fix(ble): Update security test for changes in 3.5.
2024-02-09 14:32:46 -08:00
Peter Johanson
b2a0a357e1
fix(display): Set a default mem size for built-in
...
* Set a reasonable default LVGL mem pool size for our built-in
status screen.
2024-02-09 14:32:46 -08:00
Peter Johanson
d9c0ded402
fix(shields): Fix use of deprecated Zephyr header.
2024-02-09 14:32:46 -08:00
Peter Johanson
aeb5bed3d6
fix(kscan): Adjust charlieplex init level/priority.
2024-02-09 14:32:46 -08:00
Peter Johanson
a6c0399493
fix(bluetooth): Remove LLCP impl override.
2024-02-09 14:32:46 -08:00
Peter Johanson
324ada1d20
fix(boards): Remove unused pin settings.
...
* Remove unused pin settings that used deprecated
devicetree properties.
2024-02-09 14:32:46 -08:00
Peter Johanson
8e9b4fa57c
fix(boards): Make &bootloader work on nrf52 for now.
...
* Use `NRF_STORE_REBOOT_TYPE_GPREGRET` to get bootloader behavior
to work for now until retained bootmode is implemented.
2024-02-09 14:32:46 -08:00
Peter Johanson
3968d9febd
feat(boards): Make west flash work with new UF2 runner.
2024-02-09 14:32:46 -08:00
Peter Johanson
b3f1d769f0
fix(bt): Fixes for BLE test BSIM bits.
2024-02-09 14:32:46 -08:00
Peter Johanson
4fcbe3268a
fix(bt): Updated snapshots for BLE tests.
...
* Core Zephyr changes tweaked the output from the
BT stack for our unit tests.
2024-02-09 14:32:46 -08:00
Peter Johanson
413820fc7f
fix(shields): LVGL fixes for nice!view screen
...
* Bump the LVGL mem pool size needed for custom screen.
* Fixes for LVGL drawing/label usage.
2024-02-09 14:32:46 -08:00
Peter Johanson
802881b625
fix(boards): Remove references to PINMUX Kconfig.
2024-02-09 14:32:46 -08:00
Peter Johanson
f4e6d70465
fix: Proper use of CONTAINER_OF with delayable work.
2024-02-09 14:32:46 -08:00
Peter Johanson
94aa7d8d53
chore(ci): Bump to 3.5 Docker images.
2024-02-09 14:32:46 -08:00
Peter Johanson
552347b8a4
fix(kscan): Adjust composite kscan priority
...
* Composite kscan needs a dedicated priority to be sure it is
initialized after the other kscan instances.
2024-02-09 14:32:46 -08:00
Peter Johanson
a81a2d37a8
refactor: Remove explicit blocklist item.
...
* `sof` is now not enabled by default as a west dep, so need to
add it to the blocklist ourselves.
2024-02-09 14:32:46 -08:00
Peter Johanson
98e3b8b435
refactor: Move to new sys_poweroff API.
...
* Move to new `sys_poweroff` API for our deep sleep functionality.
2024-02-09 14:32:46 -08:00
Peter Johanson
b6d9f3c911
fix(ble): Ensure large enough string for setting name.
...
* Fix warning related to potentially large number of profiles
causing overflow of allocated string for the setting name.
2024-02-09 14:32:46 -08:00
Peter Johanson
58413ca8c5
refactor(kscan): Clean up warning about shadowed local.
2024-02-09 14:32:46 -08:00
Peter Johanson
d6de8a3acc
refactor: Move to POST_KERNEL phase for behavior inits.
2024-02-09 14:32:46 -08:00
Peter Johanson
ba1a6c08ad
refactor: Return int from main function.
2024-02-09 14:32:46 -08:00
Peter Johanson
d06e90e713
fix: Fix syscalls generation setup.
2024-02-09 14:32:46 -08:00
Peter Johanson
bd9c71ab0a
fix(sensors): Avoid duplicate Kconfig/DTS name.
...
* Upstream added an equivalent fuel gauge driver, so namespace
our Kconfig symbol and DTS compatible for the MAX17048 driver.
2024-02-09 14:32:46 -08:00
Peter Johanson
0b5afbf9c0
refacter(bluetooth): Proper HCI header include.
2024-02-09 14:32:46 -08:00
Peter Johanson
fb99496a73
chore: Switch to 3.5 Zephyr version.
2024-02-09 14:32:46 -08:00
Peter Johanson
f7e7c9c10b
fix: Add missing include for k_work types.
2024-02-09 14:32:46 -08:00
Peter Johanson
bf4008da02
refactor: All SYS_INIT functions are void args.
2024-02-09 14:32:46 -08:00
Peter Johanson
f4fce9e158
refactor(display): Move new LVGL DPI Kconfig setting.
2024-02-09 14:32:46 -08:00
Cem Aksoylar
b8846cf635
refactor(display): Remove unused BAS includes
2024-02-06 01:09:07 -08:00
Cem Aksoylar
efbcd3c8f6
fix(boards): Disable ZMK_USB for peripherals
2024-02-06 01:09:07 -08:00
Cem Aksoylar
4b03fcb709
fix(boards): Add missing battery header include
2024-02-06 01:09:07 -08:00
Joel Spadin
5826b80374
chore: Fix formatting
...
Fixed the formatting in a file that wasn't passing pre-commit checks.
2024-02-03 21:56:20 -08:00
Joel Spadin
3a4cf185a1
feat(keymap-upgrader): Upgrade encoder resolution
...
Added an upgrade function to the keymap upgrader to replace the encoder
"resolution" property with "steps" and (if it is not already present)
"triggers-per-rotation".
2024-02-03 18:45:21 -06:00
Joel Spadin
be75da096c
fix(keymap-upgrader): Fix highlight on last line
...
Fixed an issue where a text edit at the very end of a file would cause
it to highlight from the start of the edit to the start of the file
instead of to the end of the file.
2024-02-03 18:45:21 -06:00
Joel Spadin
c2299e2203
fix(shields): Fix deprecated encoder properties
...
Switched remaining shields over from resolution to steps.
2024-02-03 18:45:21 -06:00
Joel Spadin
f24a0bf9c8
fix(shields): Add labels to all sensors nodes
2024-02-03 18:45:21 -06:00
Johan Friis
aab09d504c
feat(docs): Document Karabiner interference with Mod-Morphs ( #2146 )
2024-01-30 00:07:48 -08:00
Xudong Zheng
4a5806ac73
feat(core): enable FPU if CPU has FPU
2024-01-29 17:54:34 -08:00
Cem Aksoylar
0755b7a64c
fix(ci): Update upload-artifact with merge step
2024-01-29 16:44:39 -08:00
Dhruvin Shah
5685074835
docs: correcting file path in config.md
2024-01-27 11:40:12 -06:00
senseored
b120daa16a
fix(boards): Assign preonic_rev3 chosen console
...
Quick fix to make USB-logging work on the Preonic.
2024-01-27 07:18:45 -08:00
Pete Johanson
275c0ce271
Revert "fix(ci): Update one lingering upload-artifacts action."
2024-01-26 00:46:00 -08:00
Peter Johanson
3c14c7c112
fix(ci): Update one lingering upload-artifacts action.
2024-01-26 00:40:05 -08:00
Peter Johanson
789c11629e
fix(ci): Bump setup-python version.
2024-01-26 00:26:46 -08:00
Peter Johanson
72d5c01e46
fix(ci): Move to maintained get-changed files.
2024-01-26 00:26:46 -08:00
Peter Johanson
1f8b45d57d
fix(ci): Updated actions to move away Node 16.
2024-01-26 00:26:46 -08:00
Joel Spadin
1dbd6910cb
chore(docs): Update tree-sitter-devicetree to 0.9.0
2024-01-25 18:03:37 -06:00
Joel Spadin
08d9391a8a
feat(keymap-upgrader): Upgrade renamed nodes
...
Added an upgrade function to fix renamed behavior nodes in the unlikely
event that someone was changing behavior settings this way instead of
using references.
2024-01-25 18:03:37 -06:00
Joel Spadin
bf5284b3b9
fix(keymap-upgrader): Note that changed lines are highlighted
2024-01-25 18:03:37 -06:00
Joel Spadin
d4be70587d
fix(keymap-upgrader): Filter key codes to bindings
...
Changed the key code upgrader to only replace codes that appear in
"bindings" properties. Modifier flags such as MOD_LCTL are no longer
valid as key codes, but they are still used in "mods" properties and
should not be replaced there.
2024-01-25 18:03:37 -06:00
Joel Spadin
37fcf190e6
feat(keymap-upgrader): Highlight changes
...
Updated the keymap upgrader to highlight which lines it changed as well
as indicate when nothing needed to be upgraded.
Also adjusted the line highlight colors to be more readable in both
light and dark color schemes.
2024-01-25 18:03:37 -06:00
Joel Spadin
84e056793b
fix(docs): Fix links to keymap upgrader
2024-01-25 18:03:37 -06:00
Joel Spadin
a0465391be
refactor: Improve keymap upgrader
...
Moved the keymap upgrader to a top-level page like the power profiler
to make it more discoverable. It upgrades more things than key codes
now, so putting it in the codes category doesn't make much sense.
Converted the upgrader code to TypeScript and split it up into smaller
files to make it easier to add new upgrade functions.
Added upgrade functions to remove/replace "label" properties and rename
matrix-transform.h to matrix_transform.h.
2024-01-25 18:03:37 -06:00
Peter Johanson
1a3529a3e6
fix(ci): Use proper variable expression.
2024-01-25 13:20:25 -08:00
honorless
6b547019c2
refactor: use zmk,matrix-transform instead of zmk,matrix_transform
...
* Align codebase with documentation.
2024-01-23 23:02:35 -06:00
honorless
a3fbc2a5ba
docs: suggest zmk,matrix-transform over zmk,matrix_transform
...
* While functionally equivalent, the hyphenated form of this property
is more consistent with other ZMK properties and adheres to DTS style
guidelines.
* Additionally, update links to use Zephyr 3.2 documentation instead
of 2.5 where appropriate.
2024-01-23 23:02:35 -06:00
Cem Aksoylar
19613128b9
fix(docs): Fix extra line issue in hardware headers
...
Need to make prettier ignore these, because otherwise it splits
them to separate lines and reverts the whole change
2024-01-20 22:28:41 -08:00
Cem Aksoylar
0dc04df09c
fix(docs): Fix eslint-plugin-react errors
...
Remove unused components, and disable proptype checking for children
in OsTabs custom component since I can't figure out a way to assign
propTypes to it in an mdx file.
2024-01-20 22:28:41 -08:00
Cem Aksoylar
7196f9f075
ci(docs): Disable eslint rule for unescaped entities
...
eslint-plugin-react is emitting a lot of react/no-unescaped-entities
errors in mdx files, primarily due to apostrophes. It seems not ideal
to have to escape every apostrophe in all mdx text, so this commit
disables the check.
There might be a better way to handle this issue, but I am not aware
of one right now.
2024-01-20 22:28:41 -08:00
Cem Aksoylar
fa91648cce
ci(docs): Use eslint plugin for automatic JSX runtime
...
Ref: https://docusaurus.io/docs/migration/v3#automatic-jsx-runtime
and https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md#when-not-to-use-it
2024-01-20 22:28:41 -08:00
Cem Aksoylar
e3f458e539
ci(docs): Fix tsc config for docusaurus 3
2024-01-20 22:28:41 -08:00
Cem Aksoylar
57684f8a66
fix(docs): Fix broken anchors in docs (but not blog)
2024-01-20 22:28:41 -08:00
Cem Aksoylar
5cbffd6625
fix(docs): Work around docusaurus bug causing broken links
...
Some links ended up broken after docusaurus 3 upgrade,
especially if they are the second on the same line and have anchors.
Likely due to https://github.com/facebook/docusaurus/issues/9518
2024-01-20 22:28:41 -08:00
Cem Aksoylar
1b326ff856
fix(docs): Fix relative links with trailing slashes
2024-01-20 22:28:41 -08:00
Cem Aksoylar
dcfe07d9f6
refactor(docs): Use new admonition title syntax and disable mdx v1 compat
2024-01-20 22:28:41 -08:00
Cem Aksoylar
ee855de349
fix(docs): Fix incorrect admonition title
2024-01-20 22:28:41 -08:00
Cem Aksoylar
f014eb45a7
refactor(docs): Use .mdx for docs with mdx features
...
Also applies prettier changes in touched files due to precommit
2024-01-20 22:28:41 -08:00
Cem Aksoylar
00962a7255
refactor(docs): Remove no longer necessary React imports
2024-01-20 22:28:41 -08:00
Cem Aksoylar
a0a952413a
fix(docs): Fix deprecated admonition types
2024-01-20 22:28:41 -08:00
Cem Aksoylar
13c856d1d3
fix(docs): Fix mdx 3 incompatibility
2024-01-20 22:28:41 -08:00
Cem Aksoylar
0827ff245f
chore(docs): Update docusaurus to 3
...
Following https://docusaurus.io/docs/migration/v3#upgrading-dependencies
and `npm update`
2024-01-20 22:28:41 -08:00
Peter Johanson
f71458aca0
fix(shields): Fix battery warnings for custom widgets.
2024-01-16 16:39:28 -08:00
crides
8c14b155e8
docs: confirm some consumer codes on iOS
...
Tested on iOS 16.6
2024-01-15 18:07:48 -08:00
Peter Johanson
0890aaeaff
chore: Run tests if any includes change.
2024-01-14 16:19:30 -08:00
Peter Johanson
e5050e40fe
feat(tests): Enable asserts for tests.
2024-01-14 16:19:30 -08:00
Peter Johanson
e89cffc959
fix(events): Remove our usage of assert.
...
* __ASSERT is converted to a do/while loop when asserts are enabled,
which doesn't work with our usage, so revert that addition.
2024-01-14 16:19:30 -08:00
Peter Johanson
331915f989
fix: Fix missed event manager usages from refactor.
2024-01-14 11:31:05 -08:00
Peter Johanson
644feeb40d
fix(core): Address review comments from Joel.
...
* Fix up some lingering events API tweaks for heap-less event manager.
2024-01-14 11:13:57 -08:00
Peter Johanson
33209dee1d
refactor(core): Move to stack allocated events.
...
* Move to local/stack allocated event API that doesn't require
dynamic allocation/freeing.
* Disable heap, we no longer use alloc/free unless using LVGL.
* Tons of refactors all over to account for the new event approach.
2024-01-14 11:13:57 -08:00
Peter Johanson
50e473276f
chore(ci): Split build and upload into separate steps
...
* Treat build and upload as distinct steps during a build, and don't fail
a PR if only the upload portion fails.
2024-01-14 10:42:04 -08:00
typorian
466cf92029
fix(docs): Document CONFIG_ZMK_USB_BOOT
2024-01-12 11:02:47 -08:00
dependabot[bot]
2829185a94
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /docs
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-12 10:42:52 -08:00
Peter Johanson
db9ab30335
fix(boards): Fix up EXT_POWER naming for adv360pro;
...
* Restore setting loading by preserving old device name for the
external power node.
2024-01-08 17:50:19 -08:00
Xudong Zheng
6bf4870704
fix(battery): prevent bus fault when battery does not exist
...
zmk_battery_start_reporting() may be called from battery_event_listener(), which
will result in a bus fault when attempting to read a battery that does not exist
such as on a dongle.
2024-01-08 17:39:05 -08:00
Peter Johanson
7652fbeb6b
fix(split): Split peripherals should auto sec req still.
...
* Ensure split peripherals have `BT_GATT_AUTO_SEC_REQ` enabled so that
reconnects to centrals are automatically encrypted.
2024-01-06 00:53:49 -08:00
Peter Johanson
12bc8b0402
fix: Fix function signatures for WPM.
...
* Recent refactor accidentally used the wrong signatures for a few
WPM function definitions.
2024-01-05 16:09:34 -08:00
Leonardo Bispo
cebf651d11
fix(boards): include the right flash info in XIAO BLE overlay
2024-01-05 19:00:32 -05:00
Peter Johanson
395ffaa790
fix(ble): Properly send mouse HoG using worker.
...
* Properly send mouse HoG reports using our worker to avoid thread issues.
2024-01-05 12:17:59 -08:00
Peter Johanson
74875314f8
feat(ble): Request encryption if notifying fails
...
* If attempting to notify and getting an EPERM return value, request
upgrading the security of the connection at that moment, since it
likely means we got a connection to a bonded host but the connection
hasn't been upgraded to encrypted yet.
2024-01-05 12:17:59 -08:00
Pete Johanson
69f962fab2
feat(ble): Add security related tests.
...
* Add security related tests to verify behavior when trying to read
a GATT characteristic from our peripheral with and without client
auto security request/retry.
2024-01-05 12:17:59 -08:00
Peter Johanson
bc7b4b56bd
fix(ble): Disable Auto Sec Req again.
...
* Auto security request actually makes macOS worse, so disable it,
and remove our early request in favor of using GATT enforcement
to ensure connections are secured.
2024-01-05 12:17:59 -08:00
Chris Andreae
7d1c1ae8fd
fixup! docs
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2024-01-05 12:16:38 -08:00
Chris Andreae
7b9466c7dc
fixup! add documentation for BT_CLR_ALL
2024-01-05 12:16:38 -08:00
Chris Andreae
194a9790eb
fixup! use wider type for loop iterator
2024-01-05 12:16:38 -08:00
Chris Andreae
b813f34e34
fixup! bt: add BT_CLR_ALL behaviour
2024-01-05 12:16:38 -08:00
Chris Andreae
f4fe7fa40f
Extract common behaviour of clearing a bond
2024-01-05 12:16:38 -08:00
Chris Andreae
604c95118e
Remove error reporting from ble utility functions that never error
2024-01-05 12:16:38 -08:00
Chris Andreae
b8cb407351
lint: use correct type signature for Zephyr callbacks
2024-01-05 12:16:38 -08:00
Chris Andreae
7a5155f36e
lint: add (void) parameter to pass -Wstrict-prototypes
...
Note there was one place where a non-strict prototype was actually being used
with an argument, in `zmk_hog_init`. In this case, the actual argument type was
added instead.
2024-01-05 12:16:38 -08:00
moergo-sc
5257cde1f5
bt: add BT_CLR_ALL behaviour
...
Defines behaviour to clear all paired Bluetooth profiles
2024-01-05 12:16:38 -08:00
Justin Ridgewell
6f8d080b6a
fix: Use zmk_battery_state_of_charge in battery widgets
2024-01-05 15:02:06 -05:00
Cem Aksoylar
b3146e665e
feat(blog): Add post for joelspadin projects for spotlight series ( #2092 )
...
Co-authored-by: Joel Spadin <joelspadin@gmail.com >
2024-01-05 10:42:04 -08:00
Gabor Hornyak
0e2f94b73b
feat(ble): Support perhipheral battery levels.
...
* Add ability to fetch and report peripheral battery levels
on split centrals.
* Add additional support for adding a new Battery Level
service to split centrals that exposes fetched peripheral
battery levels to connected hosts.
Co-authored-by: Peter Johanson <peter@peterjohanson.com >
2024-01-03 09:26:51 -08:00
honorless
d35311af97
refactor: remove misleading build warning
...
* Among other issues, this message is often misinterpreted by users
building out-of-tree shields -- leading them to think the shield
"not being found" is the cause of a build failure.
2023-12-30 18:26:00 -08:00
honorless
7ef6ec7560
refactor: remove unused Kconfig files
2023-12-30 18:26:00 -08:00
jack
c965e35140
chore: Ignore python virtualenv files
2023-12-27 10:07:55 -08:00
Peter Johanson
a593c7260a
feat(bt): Add test for unauth overwrite.
...
* Add a test to ensure unauth overwrite does the right thing when
hosts try to pair again without the profile cleared on the ZMK side.
2023-12-18 13:18:09 -08:00
Cem Aksoylar
12d73ba4f9
fix(docs): Fix remark on &bt parameter #2
2023-12-17 17:38:07 -08:00
Cem Aksoylar
78fa1e77c4
feat(blog): Add nodefree-config post for spotlight series
...
Co-authored-by: Robert U <978080+urob@users.noreply.github.com >
2023-12-16 21:55:45 -08:00
Peter Johanson
1b8b6b4a0e
refactor(core): Make low priority queue optional.
...
* Add a new Kconfig symbol to enable the low priority queue, and make
the two features that depend on it `select` the symbol to turn it on.
This helps ensure no wasted RAM/ROM on devices that don't need it.
2023-12-16 17:10:45 -08:00
Peter Johanson
f4f402fa44
fix(ci): Use unique artifact for test logs
...
* To address conflicts with identically named artifact uploads, include the
test name in the artifact name.
2023-12-15 13:23:51 -08:00
Peter Johanson
9b3a98691c
refactor(bt): Split security and conn exp. Kconfig
...
* Split connection and security experimental changes into dedicated
Kconfig flags for easier testing of only connection related fixes.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-12-15 08:59:03 -08:00
Peter Johanson
52ed49b4bb
fix(ci): Upgrade to github-script@v7
...
* Also adjust form @actions/upload API changes.
2023-12-13 11:48:28 -08:00
Cem Aksoylar
ff57ccc75a
feat(shields): Allow settings_reset to build with board-only keyboards
2023-12-13 11:29:33 -08:00
Hooky
2c50cff891
feat(kscan): Add charlieplex keyscan driver
...
* Supports matrixes with and without additional interrupt pin use.
Co-authored-by: Peter Johanson <peter@peterjohanson.com >
2023-12-09 17:10:05 -05:00
Peter Johanson
b35a5e83c0
fix(shields): Don't enable passkey support on Uno.
...
* The ZMK Uno has no way to input the full range of digits, so skip
that setting so it's not pulled in by BLE experimental feature flag.
2023-12-08 14:57:23 -08:00
Peter Johanson
63c8c5700a
feat(bt): Add more experimental tweaks.
...
* Support auto security upgrade for splits properly.
* Disable 2M and legacy LLCP if the experimental
Kconfig flag is selected.
2023-12-08 14:57:23 -08:00
Peter Johanson
96f9031951
fix(build): Only copy if zephyr module detected
...
* To fix issues with breakage with existing user config
repos, only do our copy strategy if we detect a zephyr module
present in the repo as well.
2023-12-08 10:49:27 -08:00
Cem Aksoylar
384637ae6c
fix(docs): Fix text blurb about split Kconfig.defconfig
2023-12-06 22:50:06 -08:00
Cem Aksoylar
09d47d8117
refactor(docs): Convert breaks to unordered lists in tables
...
Co-authored-by: Joel Spadin <joelspadin@gmail.com >
2023-12-06 22:46:03 -08:00
Cem Aksoylar
55bf7cae7e
feat(docs): Note how parameters are forwarded for behaviors
2023-12-06 22:46:03 -08:00
Cem Aksoylar
56d863cba6
feat(docs): Document sensor-rotate in behaviors config
2023-12-06 22:46:03 -08:00
Cem Aksoylar
2bab81a304
fix(docs): Note -var definition files for macros
2023-12-06 22:46:03 -08:00
Cem Aksoylar
76a209c728
fix(docs): Fix sticky key #binding-cells
2023-12-06 22:46:03 -08:00
Cem Aksoylar
f3ad08b619
fix(docs): Add missing page pointers in behaviors config
2023-12-06 22:46:03 -08:00
Peter Johanson
88338a9b3c
feat(shields): Add ZMK Uno split setup
...
* Make it easier to test split code with ZMK Uno
hardware by adding a split left/right setup as well.
2023-12-06 15:00:29 -08:00
Peter Johanson
291bbc2257
refactor(docs): New shield guide to suggest modules
...
* Update the new shield guide to position Zephyr module location
as the default when creating new shields, with a note about
using ZMK repository itself as a last resort.
* Document building with additional Zephyr modules.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-12-06 09:36:37 -08:00
Peter Johanson
3656ec63d0
feat(build): Build unified config/mod repos.
...
* Detect in our build script if our config repo is *also* a Zephyr
module and if so pass to ZMK build in ZMK_EXTRA_MODULES
define.
* Copy config directory contents to new independent temp workspace
to avoid Kconfig conflicts between the build repo's zephyr module
directory and the checkout zephyr pulled in by `west update`.
2023-12-06 09:36:37 -08:00
Peter Johanson
efd403a567
refactor: Hook into CMake loading in a better spot.
...
* Shift to using an extra Zephyr module to do keymap location
work after all board roots are resolved. This avoids duplicate work
and allows us to load custom boards from Zephyr modules as well as
user config setups.
2023-12-06 09:36:37 -08:00
Peter Johanson
0ab6a0ad11
feat(bt): Add new experimental Kconfig setting.
...
* In order to have an easy way to test and phase in BT changes, add a
new `ZMK_BLE_EXPERIMENTAL_FEATURES` Kconfig setting.
2023-12-06 09:22:50 -08:00
Joel Spadin
17a6f0b128
refactor: Remove new uses of label property
...
Removed new uses of the "label" property which were introduced after
the previous commits on this branch were written.
2023-12-04 20:06:54 -06:00
Joel Spadin
0fd8e25807
docs: Document behavior name length limit
...
Added a section to the new behavior guide to document that the names of
behaviors invoked on the peripheral side of a split must be at most 8
characters long.
2023-12-04 20:06:54 -06:00
Joel Spadin
23ecf08119
refactor(behaviors)!: Remove labels from behaviors
...
Removed the label property from built-in behaviors, custom behaviors
defined in a few keymaps, and macros generated with ZMK_MACRO().
Now that node names are used to identify behaviors, and names only need
to be unique within the set of behaviors, the names of all behaviors
have been shortened to be similar to their original labels.
This means that any keymaps which reference behavior nodes by name
instead of by label will need to be updated. Keymaps typically use the
labels though, so most keymaps should be unaffected by this change.
2023-12-04 20:06:54 -06:00
Joel Spadin
36eda571b7
refactor(behaviors): Create a list to lookup behaviors
...
Added BEHAVIOR_DT_DEFINE() and BEHAVIOR_DT_INST_DEFINE(), which work
exactly like the DEVICE_*_DEFINE() macros, except they also register the
device as a behavior by adding a pointer to it to a memory section.
Added zmk_behavior_get_binding(), which works like device_get_binding()
except that it only searches the devices that have been registered as
behaviors. This ensures that behaviors cannot have name collisions with
other devices defined by the SoC, which will be important when we remove
the label property from behaviors so they are given their node names.
As an added benefit, this is faster since it searches a smaller list.
Some basic benchmark code I wrote indicates it takes 30-70% as long,
depending on where the behavior is in the list and whether the name
string is an exact pointer match.
From now on, behaviors should use BEHAVIOR_*_DEFINe() instead of
DEVICE_*_DEFINE(), and any code that looks up a behavior by name should
use zmk_behavior_get_binding() instead of device_get_binding().
2023-12-04 20:06:54 -06:00
Joel Spadin
5ecd3521f5
docs: Remove label property from documentation
2023-12-04 20:06:54 -06:00
Joel Spadin
d4e8dee444
refactor(keymaps): Rename layer label to "display-name"
...
Changed the property used to define a layer name for displays from
"label" (which affects other things in Zephyr and is deprecated) to
"display-name". (It cannot be named simply "name", because that has
special meaning in newer versions of the devicetree compiler.)
"label" is still supported as a fallback, so no changes need to be made
to existing keymaps.
2023-12-04 20:06:54 -06:00
Joel Spadin
ba5637fdef
refactor: Remove unimportant labels
...
Removed "label" properties which no longer have any function.
Labels are still used as layer names and as identifiers for sending
behaviors between sides of a split keyboard, so those have been left
alone for now.
2023-12-04 20:06:54 -06:00
Joel Spadin
3ae9e74056
refactor(drivers): Make label property optional
2023-12-04 20:06:54 -06:00
Joel Spadin
05925c72d7
refactor(ext_power): Remove label property
...
Changed the label property on zmk,ext-power-generic to be optional and
removed it from existing uses. Renamed the nodes for all non-development
boards to "EXT_POWER" to preserve user settings.
rgb_underglow.c now finds the correct device by finding the first
instance of zmk,ext-power-generic instead of looking for a node named
"EXT_POWER".
2023-12-04 20:06:54 -06:00
Joel Spadin
179bdbc41a
refactor(behaviors): Make label property optional
...
Changed all code (except for layer names) which used the label property
to use DEVICE_DT_NAME() instead, which uses the label if set or falls
back to the full node name. This matches how Zephyr determines the node
names used with device_get_binding() and allows us to start removing the
deprecated label property from things.
2023-12-04 20:06:54 -06:00
ReFil
dbe5dfb1d8
feat(split): Add is_bonded function to peripherals
...
There is already a function to see if the peripheral is connected, a matching one for if it's bonded is a useful addition for displays/indicators. `is_bonded` gets reset to false in the advertising function in preparation for runtime peripheral bond clearing
2023-12-04 18:31:35 -05:00
ReFil
9bacaffe62
feat(hid): Add KConfig option for higher NKRO usages
...
By default the maximum NKRO usage is set to maximise compatibility, but some keys dont work, this adds the ability to use those extended keys, at the cost of compatibiltity
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2023-12-04 18:24:05 -05:00
Cem Aksoylar
8ee3467adf
fix(docs): Update outdated information in the hardware page
2023-12-04 15:22:49 -08:00
Cem Aksoylar
042e5209b3
fix(docs): Fix table for BT_DISC
2023-12-04 09:24:53 -08:00
ReFil
ecefd6d24b
fix(docs): Update backlight docs ( #1894 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com >
2023-12-04 09:21:49 -08:00
Peter Johanson
55aed8e89d
feat(tests): Add ability to auto-accept test diff.
2023-12-02 17:11:45 -08:00
Peter Johanson
c63d0791d5
chore: Ensure BSIM env. variables set in devcontainer.
2023-12-02 17:11:45 -08:00
Peter Johanson
693530c2f1
feat(bluetooth): Initial nRF52 BSIM based test support.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-12-02 17:11:45 -08:00
Peter Johanson
da15564d0e
feat(bluetooth): Build on ARCH_POSIX.
2023-12-02 17:11:45 -08:00
Peter Johanson
3fad4dba07
fix(bt): Passkey entry pairing fixes.
...
* Don't propogate any key press events while in the
middle of passkey entry, avoid funky state on hosts.
* Handle passkey on release, not press, to ensure key *releases*
are not accidentally sent, especially the Enter release
at the very end of passkey entry, which can trigger
cancel in the dialog if the keyboard is connected
via USB to the same host.
2023-12-01 16:48:46 -08:00
Peter Johanson
329d6474ee
feat(ble): Make it possible to use BT_GATT_AUTO_SEC_REQ
...
* Only upgrade security of new connections if BT_GATT_AUTO_SEC_REQ
is not enabled.
2023-12-01 16:47:49 -08:00
Peter Johanson
744f70c80c
feat(bt): Add support for unauth overwrite
...
* Properly handle the user enabling the
`CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE`
Zephyr flag and handle re-pairing to an existing taken
profile from the same address.
2023-12-01 23:39:31 +00:00
ReFil
69f7bfb409
feat(boards): Kinesis Advantage 360 pro
...
Add the Kinesis Advantage 360 Pro board definition.
2023-11-27 19:09:58 -05:00
Peter Johanson
817ce8764f
refactor: Move to zmk_hid_indicators_t type.
2023-11-27 16:03:18 -08:00
Alessandro Bortolin
d9bb0d7d0e
feat: LED indicators on peripheral side
2023-11-27 16:03:18 -08:00
Alessandro Bortolin
4e55c5f6e9
feat: handle LED indicators report
2023-11-27 16:03:18 -08:00
ReFil
6276e973d5
feat(ble): Only update BAS when active
...
Subscribes to the activity changing event, will stop the battery work timer when in idle or deep sleep, restart when board goes active
2023-11-27 09:58:20 -08:00
ReFil
84b93350b8
feat(docs): Document adding USB logging to a standalone board ( #2039 )
...
Currently this is only documented in the zephyr 3.0 upgrade blog. This explicitly documents it as well as when it doesn't need to be applied (i.e. when a mcu board is already in use).
2023-11-27 09:12:33 -08:00
Cem Aksoylar
a3f30ee799
feat(build): Add support for artifact-name in build.yaml, correctly
2023-11-23 21:09:14 -08:00
Idan Gazit
f77e38f2b9
chore: Update devcontainer.json
...
The format has changed slightly.
2023-11-23 21:02:22 -08:00
Chris Andreae
0a4b1a6533
feat(ble): add behavior to disconnect from BLE profile
...
Adds new functionality and a behavior to disconnect an active BLE connection.
The motivation for this is that for some devices like phones, the presence of an
active BLE connection results in the onscreen keyboard being selected.
2023-11-20 15:00:10 -05:00
Alexander Krikun
d7d9eed317
feat(mouse): Initial mouse keys support.
...
* Add HID report/descriptor for a new report with mouse buttons,
and x/y/wheel deltas.
* New mouse key press behavior for press/release of mouse keys.
* Add constants for HID main item values (e.g. data/array/absolute)
* Define and use constants for our HID report IDs.
2023-11-15 11:16:59 -08:00
ReFil
8776911da5
feat(ble): Allow disabling BLE BAS reporting
...
The battery reporting has been known to cause macOS computers to wakeup repeatedly. In some cases (e.g. display or custom lighting implementation) one might want to collect battery SOC without broadcasting over BLE
* Update docs/docs/config/battery.md
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-11-15 13:03:30 -05:00
Peter Johanson
3027b2a6e8
chore(usb): Don't enable ZMK_USB_ROOT by default.
...
* Some initial reports of crashes with this code enabled, so disabling
by default for now pending further investigation.
2023-11-13 23:56:10 -08:00
Peter Johanson
f6716f869a
fix(usb): Build with ZMK_USB_BOOT disabled.
...
* Invert the logic so `get_keyboard_report` is sane when `ZMK_USB_BOOT`
is disabled.
2023-11-13 23:56:10 -08:00
Chris Andreae
2a1904e184
feat(boards): Add Glove80 to boards
...
* Add board definition for MoErgo Glove80
2023-11-14 02:08:58 -05:00
Pete Johanson
afe65ead9c
Revert "feat(build): Add support for artifact-name in build.yaml"
...
This reverts commit c1bf35ce1d .
2023-11-13 13:51:08 -08:00
Peter Johanson
964c54139d
fix(usb): Tweak how ZMK_USB gets enabled.
...
* Previous version of multiple overrides of the default value of ZMK_USB
were problematic. Move to using board _defconfig files for the
defaults for those, along with proper `depends on` for ZMK_USB that
accounts for split and split roles.
2023-11-13 12:56:23 -08:00
Cem Aksoylar
7b4b5d4ff2
fix(docs): Fix debouncing driver support note
2023-11-13 12:37:09 -08:00
Cem Aksoylar
a5c3edd51b
refactor(docs): Remove local build section in customization
2023-11-13 12:34:44 -08:00
Cem Aksoylar
2554b5c88f
fix(docs): Update boards in build examples to common+uf2 ones
2023-11-13 12:34:44 -08:00
Cem Aksoylar
c1bf35ce1d
feat(build): Add support for artifact-name in build.yaml
2023-11-13 12:27:05 -08:00
Chris Andreae
91aa3378f3
feat(usb): Add boot protocol support
...
* USB boot protocol support
* Use a single definition of a boot report, used for regular reports in
non-6KRO, and for rollover in all branches.
* Handle gaps in the zmk report when producing a boot report in HKRO mode. For
.example, if it was 8KRO, it would be possible to have the state 0 0 0 0 0 0 0
17 (by pressing 8 keys, and letting go of the first 7). Copying the first 6
bytes would not show up the single pressed key.
* Disable usb status change and callback on SOF events:
SOF events were introduced by the boot protocol changes, and required internally
by Zephyr's idle support, but are unused within ZMK itself. Ignore them in the
usb status callback.
---------
Co-authored-by: Andrew Childs <lorne@cons.org.nz >
2023-11-13 13:04:04 -05:00
Cem Aksoylar
b80c0be0ce
feat(blog): Add keymap editor post for spotlight series
...
Co-authored-by: Nick Coutsos <nick@coutsos.com >
2023-11-08 23:00:26 -08:00
Cem Aksoylar
5b49bc10cd
feat(blog): Show all posts on sidebar
2023-11-08 23:00:26 -08:00
Peter Johanson
c2d220fbdf
refactor(hid): Use proper defines for HID values.
...
* Add report ID defines and use them consistently.
* Add defines for main item value flags to avoid magic constants.
2023-11-08 16:00:19 -08:00
Peter Johanson
34c8b3f1e3
refactor: Update boards/shields for encoders.
...
* Update existing boards/shields for new `steps` and
`triggers-per-rotation` set up.
2023-11-03 12:35:25 -07:00
Peter Johanson
8d09809ef0
fix(docs): Updated encoder config docs.
...
* Update new shield guide for new sensor/encoder settings.
* Add DTS section to encoder config docs.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-11-03 12:35:25 -07:00
Nick Coutsos
9e8ee86842
chore(docs): Fix links to relocated files ( #1975 )
2023-10-22 09:05:49 -07:00
ReFil
82e85699ed
feat(docs): Document ZMK_BATTERY_REPORTING config ( #1971 )
...
`CONFIG_ZMK_BATTERY_REPORTING` is currently undocumented, A new KConfig section for battery has been added in line with the other sections in the configuration section of the docs, `CONFIG_ZMK_BATTERY_REPORT_INTERVAL` has been moved from system to battery for consistency
2023-10-19 14:04:04 -07:00
Khalid Aj
7fe9ecd87f
feat(shields): Add Reviung53 shield.
...
* Initial Reviung53 shield
---------
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-10-17 18:43:50 -04:00
Joel Spadin
3b1d04372b
feat: Print Kconfig and DTS for failed builds
...
Added the combined devicetree file to the user config build action. Set
it and the Kconfig output to run even on a failed build.
2023-10-17 15:35:44 -07:00
Alex Kang
a9a53e6da4
feat(shields): Reviung34 shield definition
...
* Initial implementation of REVIUNG34 shield.
* Add copyright information to files
* Added a README with instructions on how to enable the 1x2u layout.
* Add a default chosen matrix transform in the default keymap, alongside a commented out version for the alternate layout.
---------
Co-authored-by: Peter Johanson <peter@peterjohanson.com >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-10-14 19:39:42 -07:00
Peter Johanson
3ab922822c
feat(shields): Add ZMK Uno nice!view support.
...
Export the `nice_view_spi` node properly from the ZMK Uno overlay
to ensure the shield will work when built along with the `nice_view`
shield.
2023-10-14 10:51:48 -07:00
Cem Aksoylar
a9f677007b
fix(blog): Correct incorrect info re: global-quick-tap
2023-10-11 12:18:02 -07:00
dependabot[bot]
0c06023ca0
chore(deps): bump postcss from 8.4.18 to 8.4.31 in /docs
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-10 16:17:44 -07:00
ReFil
6c75d6986c
feat(docs): Document globe key specific quirks
2023-10-10 14:04:28 -07:00
Joel Spadin
65667b863a
docs: Add syntax highlighting to more code blocks
...
Added language tags to more code blocks in the documentation to enable
syntax highlighting.
2023-10-09 15:19:24 -07:00
Joel Spadin
4a339093ce
docs: Add highlighting for devicetree and kconfig
...
Added syntax highlighting for devicetree and kconfig files.
The PrismJS project is not accepting contributions right now as they
work on a version 2 of the library, so the new language files are added
directly here.
Also enabled syntax highlighting for various languages that are used in
the docs but aren't enabled in Docusaurus by default.
2023-10-09 15:19:24 -07:00
Diogo Doreto
6af22424f1
feat(shields): add right encoders support to waterfowl
2023-10-09 11:46:05 -07:00
Cem Aksoylar
791711b555
feat(docs): Note how to use GPIO outside interconnect definition
2023-10-08 18:38:48 -07:00
Joel Spadin
8a84b7dd5b
fix(shields): Fix incorrect union access in nice view
...
Fixed an error in a previous commit where a member of the selected
endpoint was used without checking if it was the correct transport type.
The nice!view status screen displays the active BLE profile regardless
of whether BLE is active, so we have to get that data directly from the
BLE code instead of from the selected endpoint.
2023-10-08 19:30:23 -04:00
Alex Kang
fd05478897
feat(shields): Microdox V2 shield definition
...
* Refactor common parts of the Microdox sheild into a separate file. This is in preparation for adding Microdox V2 as another shield in the same directory.
* Refactor Microdox keymap into a common file in preparation for Microdox V2
* Add Microdox V2 shield definition
* Added a README to explain v1/v2 differences.
2023-10-06 15:27:38 -04:00
Cem Aksoylar
ca5c9b4ae6
feat(blog): Add SOTF #6 ( #1943 )
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2023-10-05 19:53:15 -07:00
Amettler Thierry
913fdb831e
feat(docs): Add configuration snippet for layer-taps
2023-10-04 13:29:06 -07:00
Seth Milliken
df92b0e37d
feat(shields): sofle: add underglow support with &pinctrl update
...
* Sofle Shield: Add underglow support
---------
Co-authored-by: Kim Streich <kim@infusedinsight.com >
Co-authored-by: Seth Milliken <seth_zmk@araxia.net >
2023-10-04 11:48:46 -04:00
Andrew Rae
11996ff7f0
refactor(behaviors): Final global-quick-tap deprecation.
2023-10-03 01:12:47 -07:00
Andrew Rae
2234be0871
refactor(docs): Apply suggestions from @caksoylar
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-10-03 01:12:47 -07:00
Andrew Rae
f0f6d61e79
fix(tests): Updating old tests includes
2023-10-03 01:12:47 -07:00
Andrew Rae
b85ffa4b6c
refactor(behaviors): global-quick-tap -> require-prior-idle
...
Renaming global-quick-tap-ms to require-prior-idle.
2023-10-03 01:12:47 -07:00
Andrew Rae
49c393e8f8
refactor(docs): Applying suggestions for gqt from @caksoylar
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-10-03 01:12:47 -07:00
Andrew Rae
1e84e265b1
feat(docs): Adding global-quick-tap-ms docs
2023-10-03 01:12:47 -07:00
Andrew Rae
77eb44ba9b
feat(behaviors): Adding global-quick-tap-ms for combos
...
This brings the 'global-quick-tap' functionality to combos by filtering
out candidate combos that fell within their own quick tap term.
I also replaced `return 0` with `return ZMK_EV_EVENT_BUBBLE` where appropriate.
(I assume this was done in past as it is similar to errno returning, but
being that this is to signify an event type I find this more clear)
2023-10-03 01:12:47 -07:00
Andrew Rae
2f6abff3bc
refactor(behaviors): Giving global-quick-tap its own term
...
Detaching the global-quick-tap functionality from the quick-tap term.
This makes way for two improvements:
1. This functionality can be added to combos under a unified name
'global-quick-tap-ms'.
2. This allows users to set a lower term for the 'global-quick-tap'
(typically ~100ms), and a higher term for the regular
quick-tap (typically ~200ms)
This deprecates the global-quick-tap option, however if it is set, the
quick-tap-ms value will be copied to global-quick-tap-ms.
2023-10-03 01:12:47 -07:00
Flo Kempenich
aa4cb143bf
fix(combos)Fix bug with overlapping combos timeouts ( #1945 )
...
* Fix bug with overlapping combos timeouts
* Fix trailing whitespace
* Fix log format
2023-10-03 04:03:59 -04:00
Joel Spadin
6a3cc914fc
fix: Fix nice_view display widgets
2023-10-02 22:03:08 -07:00
Joel Spadin
b17d896c5c
fix: Address review comments
2023-10-02 22:03:08 -07:00
Joel Spadin
651ed05e9a
refactor: Split endpoint to transport and instance
...
Changed the endpoints code to rename the existing endpoint types to
"transport" and add the concept of "endpoint instances". A transport is
the method by which data is sent, while instances allow describing
multiple endpoints that use the same transport (e.g. bluetooth profiles)
Also added new APIs to get the total number of possible endpoint
instances and assign each instance a unique index, which can be used
for tracking separate state for each endpoint in other code files.
2023-10-02 22:03:08 -07:00
Andrew Rae
2f05ad55ca
fix(core): Prevent pre-releasing explicit mods.
2023-10-02 12:28:02 -07:00
Andrew Rae
dffdb2365e
test(core): Adding coverage for key pre-releasing.
...
Added cases for the two use cases I know of:
1. Rolling with key-repeat behavior
2. Rolling symbols that have the same base key, eg `+=`
2023-10-02 12:28:02 -07:00
Andrew Rae
933e369d7c
feat(core): Adding pre-release for keys that were already pressed.
...
This fixes #1207 and #1076 (and maybe more?).
2023-10-02 12:28:02 -07:00
ReFil
c1ebadcd2a
feat(hid): Add apple globe keycode
...
* feat(hid): Add apple globe keycode
* Update docs/src/data/hid.js
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
Co-authored-by: Nick Coutsos <nick@coutsos.com >
2023-09-29 13:14:31 -07:00
zhiayang
9b3d2cb99f
fix(driver): Fix broken compilation for MAX7318 driver
2023-09-28 12:19:14 -04:00
ClicketySplit
07c82836e0
fix(shields): Leeloo-Micro set status disabled for encoders.
2023-09-28 11:54:08 -04:00
zhiayang
8abc449cc2
feat(drivers): add driver for MAX17048 fuel gauge
...
Add driver for MAX17048 fuel gauge for battery reporting.
2023-09-25 21:04:03 -04:00
Peter Johanson
28ce23d489
chore(tests): Move to proper header name.
2023-09-16 11:52:40 -07:00
Peter Johanson
0ca7f69b6d
refactor: Promote debounce to exposed mod lib.
...
* Promote previously local debounce code from kscan drivers to exposed
module lib, for use with other drivers as needed.
* Refactor existing kscan driver to new "public" API.
2023-09-16 11:52:40 -07:00
Peter Johanson
c28ef1b61e
refactor(drivers): Use proper init stage/priority.
...
* Avoid APPLICATION stage and use the proper earlier stage for
kscan drivers.
2023-09-16 11:52:40 -07:00
Peter Johanson
690bc1bb44
refactor: Move drivers into properly module.
...
* Align our driver module layout to properly match Zephyr conventions,
allowing proper CMake setup to amend the library for each type of driver.
2023-09-16 11:52:40 -07:00
Jeppe Klitgaard
eaeea4bdfa
feat(docs): Add missing &kp tip for devicetree_unfixed.h error
2023-09-11 23:32:09 -07:00
Cem Aksoylar
7f9e9f8c64
fix(boards): Disable QSPI for Xiao BLE
...
The GD25Q16 flash connected via QSPI seems to be causing issues
with excessive battery use and inability to sleep. Since ZMK doesn't
use it, disable it.
Resolves #1901
2023-09-05 22:40:25 -07:00
Cem Aksoylar
f442776fe2
feat(docs): Detail logging and note extra useful options
2023-09-04 23:30:52 -07:00
dependabot[bot]
8087fa3b2b
chore(deps): bump @fortawesome/fontawesome-svg-core in /docs
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 6.4.0 to 6.4.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.4.0...6.4.2 )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 23:20:33 -07:00
Nate Eagleson
693875675f
fix(docs): Fix typo in caps-word.md ( #1924 )
2023-09-04 16:59:59 -07:00
Peter Johanson
718500543b
feat(split): Use directed advertising.
...
* Split centrals to scan with their identity so they receive direct
advertising packets.
* Split peripherals to use direct advertising if they have an existing
bond to a split central.
2023-09-04 13:54:07 -07:00
dependabot[bot]
3936298260
chore(deps-dev): bump eslint-plugin-react from 7.32.2 to 7.33.2 in /docs
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.32.2 to 7.33.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.32.2...v7.33.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-03 22:39:26 -07:00
Peter Johanson
647945d9f8
feat(shields): Add splitkb.com Aurora Helix
...
* Add new shield for splitkb.com Aurora Helix, supporting
keys, encoder(s), displays, and RGB.
2023-09-03 22:39:10 -07:00
dependabot[bot]
8984e12f0d
chore(deps-dev): bump json-schema-to-typescript in /docs
...
Bumps [json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript ) from 12.0.0 to 13.1.1.
- [Changelog](https://github.com/bcherny/json-schema-to-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bcherny/json-schema-to-typescript/commits )
---
updated-dependencies:
- dependency-name: json-schema-to-typescript
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-03 15:25:21 -07:00
dependabot[bot]
3de23938d6
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /docs
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-02 23:11:02 -07:00
フィルターペーパー
ac0691471f
feat(shields): Add Bluetooth bindings to kyria keymaps
...
Bluetooth bindings are useful for handling pairings with hosts. This
change adds the header and a few default commands as template for
new users to work with.
2023-09-02 23:08:17 -07:00
Xudong Zheng
544612c8c0
fix(split): reserve peripheral slot before stopping scanning
...
In the event that the peripheral MAC address does not match, this allows
scanning to continue.
2023-09-02 23:06:41 -07:00
Cem Aksoylar
4e18b879bd
feat(docs): Document persisted settings and debouncing
2023-09-02 23:02:17 -07:00
Cem Aksoylar
b20d3178b9
feat(docs): Note devicetree limits re: macro bindings
2023-09-02 22:59:17 -07:00
Cem Aksoylar
369c7c1721
fix(docs): Correct default macro wait/tap ms
2023-09-02 22:59:17 -07:00
Cem Aksoylar
3d938033b0
feat(docs): Note GPIO flags and add examples
2023-09-02 20:49:19 -07:00
Cem Aksoylar
1e11e84d0d
fix(docs): Fix row/col comments in matrix examples
2023-09-02 20:49:19 -07:00
Cem Aksoylar
fd47965838
fix(docs): Remove diode-direction from direct GPIO driver
2023-09-02 20:45:29 -07:00
Mikhail Stralenia
185457bc11
fix(shields): leeloo - proper encoder status for split encoders.
2023-08-29 08:53:30 -07:00
Peter Johanson
a92a4967aa
fix(sensors): Only accept data once per behavior.
...
* Don't accept data for the same behavior on multiple layers more than
once, to avoid duplicate/extraneous triggers.
2023-08-27 19:52:03 -07:00
Peter Johanson
dcb1f8f135
fix(docs): Update docs about split encoder support
2023-08-27 19:52:03 -07:00
Stephen Wan
9d44229800
feature(split): add support for sensors from peripheral
...
This commit adds a new GATT characteristics on the peripheral side
and wires it up to read sensor values. The central side subscribes
to this new characteristics and replays sensor values on its side.
Co-authored-by: Peter Johanson <peter@peterjohanson.com >
2023-08-27 19:52:03 -07:00
Seth Milliken
c957348e61
fix(docs): detail overriding the led_strip chain-length property
...
Quite a few people have struggled with setting the correct
`chain-length` for their `led_strip`. For some, this is their first time
needing to change a pre-defined devicetree property, and so they aren't
familiar with the technique. I commonly see folks adding a duplicate of
the entire `*.overlay` file with only the `chain-length` value changed.
Having clear documentation for this specific application of the property
override technique could help forestall these problems, and give those
of us helping out in Discord something to easily reference.
2023-08-15 11:04:01 +03:00
Jorge Villalobos
d17c473d45
feat(docs): Improve parameterized macros docs
2023-08-02 09:57:00 -07:00
Xudong Zheng
e65a7e3075
fix(battery): change nRF52 ADC gain
...
With ADC pin, maximum 3.6V input needs gain 1/6 to be less than the 0.6V
reference.
With VDDHDIV5, maximum 6V input corresponds to 1.2V so gain 1/2 will be less
than the 0.6V reference and be slightly more precise.
2023-07-29 23:04:35 -07:00
Xudong Zheng
cb9c573b53
refactor(underglow): turn underglow off in low priority work queue
2023-07-24 17:04:51 -07:00
Xudong Zheng
9a963abfc8
refactor: use low priority workqueue for underglow and battery reporting
...
Blocking operations on the high priority system workqueue may result in
deadlocks, particularly when Bluetooth is in use.
2023-07-24 17:04:51 -07:00
Peter Johanson
f743d57ff1
feat(shields): Add splitkb.com Aurora Sofle
...
* Add new shield for splitkb.com Aurora Sofle, supporting
keys, encoder(s), displays, and RGB.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-07-22 23:16:49 -07:00
Peter Johanson
147f7f23dc
fix(shields): Make settings_reset more flexible.
...
* Don't reference `pro_micro` nexus node in settings_reset
so it can be used with other controllers.
* Use mock kscan node instead.
2023-07-21 10:41:23 -07:00
Peter Johanson
5f6a13413b
fix(bluetooth): Split improvements
...
* Proper usage of bt_uuid_cmp.
* Central's don't start scanning for peripherals if
`ZMK_BLE_CLEAR_BONDS_ON_START` is enabled.
* Split peripherals don't advertize if
`ZMK_BLE_CLEAR_BONDS_ON_START` is enabled.
2023-07-21 10:41:23 -07:00
Peter Johanson
54c2e8e155
feat: Add more logging to peripheral settings.
2023-07-21 10:41:23 -07:00
Peter Johanson
ed400c4feb
fix(bluetooth): Corrected use of bt_addr_le_cmp
...
* Properly compare to zero when comparing LE addresses.
2023-07-21 10:41:23 -07:00
Peter Johanson
73e1b526d5
fix(bluetooth): Properly clear peripheral slots
...
* When the clear bonds Kconfig is set, also clear peripheral
address slots addresses from settings as well.
2023-07-21 10:41:23 -07:00
dependabot[bot]
b945ffe943
chore(deps): bump semver from 5.7.1 to 5.7.2 in /docs
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-20 09:52:20 -07:00
Maciej Konieczny aka narf
cec2061dad
fix(docs): Fix typos in parameterized macros docs.
2023-07-19 15:42:35 -07:00
Cem Aksoylar
ee1e135104
fix: Proper battery sensor Kconfig dependencies.
...
Properly make the battery sensor Kconfig symbols depend
on `SENSOR` config, and minor battery reporting Kconfig
symbol dependency fix.
2023-07-19 02:21:09 -04:00
Nick Winans
51a4be8935
fix(displays): Don't enable built-in widget configs by default
2023-07-19 00:13:16 -06:00
Nick Winans
18a2b76bf0
feat(nice!view): Custom widgets
2023-07-19 00:13:16 -06:00
NAHO
f3110d1d1e
fix(docs): Fix README punctuation and add license link
2023-07-17 15:23:22 -07:00
ClicketySplit
aaf9958d86
feat(boards): Leeloo v2 and V2 Zephyr 3.2 fixes
...
* Add Leeloo v2
* Leeloo-Micro v1 updates to support Zephyr 3.2
* Refactored for new Encoder Configuration
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-07-17 17:26:27 -04:00
フィルターペーパー
bbb27ac027
feat(docs): Note that UF2 drive unmounts after flashing ( #1859 )
...
Add a note about the UF2 drive that automatically unmounts itself
to restart, which may surprise some new users.
2023-07-06 10:39:08 -07:00
Kyle McCreery
3772ecb04e
fix(boards): Update pillbug_defconfig to enable pinctrl
2023-07-05 10:50:19 -06:00
Peter Johanson
b259d5a22e
fix(sensors): Sensor rotate behavior fix for layers.
...
* Properly return transparent value when processing mode
for higher disabled layers means the processing is ignored.
2023-06-20 17:36:37 -06:00
Peter Johanson
805dd4a53b
feat(behaviors): Support parameterized macros.
...
* Add two new compatibles for macros that
take one or two parameters when bound in
a keymap.
* Use `¯o_param_1to1`, `¯o_param_1to2`, `¯o_param_2to1`,
and `¯o_param_2to2` control entries in the bindings for the macro
to have the next binding entry have it's values substituted.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-06-20 11:19:28 -06:00
Xudong Zheng
e686fce4d9
refactor(split): allow central to define connection parameters
...
Fixes #1614
2023-06-19 20:48:31 -06:00
Peter Johanson
5763558a02
feat(blog): Add post about sensor refactor.
...
* Document changed configuration, support for other Zephyr
drivers, next steps.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-06-18 20:45:06 -06:00
Peter Johanson
753802cd79
fix(sensors): Clean ups based on code review.
2023-06-18 20:45:06 -06:00
Peter Johanson
3a91b32513
refactor(sensors): Use "sensor index" consistently
2023-06-18 20:45:06 -06:00
Peter Johanson
8b29f6d345
refactor(sensors): Split data handling from triggers.
...
* All sensor behaviors should see sensor data, then selectively
only have some trigger their behaviors.
2023-06-18 20:45:06 -06:00
Peter Johanson
d781ec795b
refactor(bluetooth): Add battery reporting config.
...
* Add dedicated battery reporting Kconfig that is `imply`d by
enabling ZMK_BLE.
2023-06-18 20:45:06 -06:00
Peter Johanson
f8aaaff556
refactor(shields): Updated ZMK Uno encoder config.
...
* Move to new steps/triggers-per-rotation config.
* Leverage QDEC Nordic driver when used on Nordic DK.
2023-06-18 20:45:06 -06:00
Peter Johanson
621d946d29
refactor(bluetooth): Bump HoG stack size.
...
* Bump the default stack size for the HoG processing thread
to avoid issues w/ some pathways.
2023-06-18 20:45:06 -06:00
Peter Johanson
f0f7e2081b
refactor(config): Select SENSOR as needed.
...
* Don't force on SENSOR Kconfig setting unless
needed based on the detected DT.
2023-06-18 20:45:06 -06:00
Peter Johanson
295ed83409
refactor(sensors): ec11 rotation sensor value in degrees.
...
* Add new `steps` property to the `aips,ec11` binding, to make
the driver properly report degrees in the rotation delta channel.
* Handle old sensor values in sensor rotate behavior.
2023-06-18 20:45:06 -06:00
Peter Johanson
2244bd3d81
refactor(sensors): Sensor event channel data, resolution tweaks.
...
* Refactor sensor events to include channel data,
necessary for prop split encoders, and avoiding duplicate calls,
to fetch channel data twice, etc.
* More consistent behavior driver API.
* Allow setting triggers per resolution at the behavior level optionally.
2023-06-18 20:45:06 -06:00
Joel Spadin
dcf5e75fa6
fix(boards): Bump nRF5340 DK I2C buffer size
...
Increased the I2C buffer size again, since it needs to be at least 641
to support 128x64 displays.
2023-06-18 14:57:06 -06:00
Joel Spadin
9ff1eaeb5a
fix: Enable BT_TINYCRYPT_ECC when using HCI
...
BT_TINYCRYPT_ECC is required for BT_SMP_SC_PAIR_ONLY to work on setups
that use BT HCI like the nRF5340.
2023-06-18 14:52:45 -06:00
dependabot[bot]
9d714c0b69
chore(deps-dev): bump webpack from 5.80.0 to 5.86.0 in /docs
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.80.0 to 5.86.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.80.0...v5.86.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-10 23:51:23 -07:00
dependabot[bot]
0be0d07630
chore(deps): bump minimatch and serve-handler in /docs
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) and [serve-handler](https://github.com/zeit/serve-handler ). These dependencies needed to be updated together.
Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
Updates `serve-handler` from 6.1.3 to 6.1.5
- [Release notes](https://github.com/zeit/serve-handler/releases )
- [Commits](https://github.com/zeit/serve-handler/compare/6.1.3...6.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
- dependency-name: serve-handler
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-10 23:37:26 -07:00
pixls
9d39a87f67
fix(docs): Change user-setup.md order to agree with order in setup script
...
Fixes #1281
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-06-10 17:49:30 -07:00
kadoyau
98524a9567
fix(docs): Fix INT6 keycode description
2023-06-10 12:32:50 -07:00
Albert Y
a5c57fa224
feat(docs): Add an example for combining just modifiers ( #1826 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-06-05 22:22:39 -07:00
Xudong Zheng
5d9ae8fffa
feat(split): allow central to connect to multiple peripherals
2023-06-05 16:22:41 -06:00
Peter Johanson
f08802eaa7
fix(boards): Proper i2c pinctrl for BlueMicro840
...
* Use the proper pin assignmets after the move to pinctrl for the
Zephyr 3.2 migration.
2023-06-05 00:05:44 -06:00
Peter Johanson
19d883cdfe
fix(bluetooth): Passkey pairing improvements.
...
* Capture the last 6 entered digits, and then require pressing
Enter/Return to submit the entered digits. This matches the
messaging shown on hosts regarding how to complete pairing.
* Fix the wording on the Kconfig menu item to accurately describe
the feature.
2023-06-05 00:01:44 -06:00
Cem Aksoylar
ace11e327f
fix(docs): Fix broken link in BT troubleshooting
2023-06-02 22:07:29 -06:00
Cem Aksoylar
0682bc3aa6
feat(docs): Note split connectivity improvement with TX power
2023-06-02 21:13:27 -06:00
Cem Aksoylar
a9ad11f91e
refactor(docs): Move BT troubleshooting items to BT page
2023-06-02 21:13:27 -06:00
Cem Aksoylar
30ba4b08ae
feat(docs): Add pointer to Bluetooth page in troubleshooting
2023-06-02 21:13:27 -06:00
Cem Aksoylar
4042aea66f
feat(docs): Add troubleshooting for Windows issue
2023-06-02 21:13:27 -06:00
Cem Aksoylar
0508718d6c
feat(docs): Add behavior types section for hold-tap
2023-06-02 21:11:33 -06:00
Cem Aksoylar
a2af74f5ab
feat(docs): Add note on modifier functions to macros
2023-06-02 21:08:02 -06:00
Joel Spadin
b276a3bfb0
refactor(kscan): batch GPIO reads by port
...
Changed the GPIO matrix and direct GPIO key scan drivers to do a single
read per port instead of one read per pin. This is much more efficient
for some types of GPIO drivers, such as I2C GPIO expanders.
To accomplish this with minimal overhead, we now sort input pins by port
at driver init. if we iterate through the pins in the sorted order, all
pins on the same port are consecutive, so we only need to read each port
once the first time we see it.
2023-05-28 23:33:34 -06:00
Xudong Zheng
1adfcf92bf
refactor(split): fix inconsistency in Kconfig names
2023-05-28 22:58:31 -06:00
Peter Johanson
5aac2743b1
fix(bluetooth): Improved checking for conn status.
...
* Check the actual connection status before considering
a discovered connection as connected.
2023-05-22 23:09:40 -06:00
Cem Aksoylar
864394b40a
feat(display): Add setting to invert display colors
...
Add CONFIG_ZMK_DISPLAY_INVERT Kconfig to invert colors
(black-on-white to white-on-black) on monochrome screens.
Currently applies only if CONFIG_LV_USE_THEME_MONO is selected,
which is the default unless user overrides it.
2023-05-21 21:51:36 -06:00
Cem Aksoylar
7e29166c6c
refactor(display): Clean up unused theme Kconfig
2023-05-21 21:51:36 -06:00
Cem Aksoylar
b021d19255
fix(display): Imply LVGL mono theme when display is enabled
...
All displays currently used with ZMK are monochrome so it makes sense
to enable the mono theme by default, which can be disabled by the user
since we use the "imply" statement.
Without this theme setting, the small font size selection for widgets
at the bottom of the stock status screen does not work.
2023-05-21 21:51:36 -06:00
Joel Spadin
c4c014e3d1
fix(docs): Fix typescript error
...
See https://github.com/facebook/docusaurus/issues/8226#issuecomment-1420620198
2023-05-20 01:33:11 -06:00
Joel Spadin
dae020787e
docs: Update tree-sitter
...
Updated web-tree-sitter and the devicetree grammar.
web-tree-sitter now supports a custom function to locate its .wasm file,
so performing a string replace is no longer necessary to get it to work
with Docusaurus' Webpack configuration. We now check when tree-sitter is
locating its .wasm file and provide the Webpack-adjusted URL.
2023-05-20 01:33:11 -06:00
Joel Spadin
c6bf95a901
chore: Update fontawesome
2023-05-20 01:33:11 -06:00
Joel Spadin
da2599aa75
chore: Update docusaurus, react types
2023-05-20 01:33:11 -06:00
Joel Spadin
4674215551
chore: Update json-schema-to-typescript
2023-05-20 01:33:11 -06:00
Joel Spadin
d799560985
chore: Update typescript, eslint, webpack
2023-05-20 01:33:11 -06:00
digger vermont
89d71ed2c2
feat(boards): Add KBDfans Tofu65 2.0 board
...
* Initial commit of Tofu65 2.0 board
---------
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2023-05-18 17:47:36 -06:00
Albert Y
b1ca9199de
fix(ci): Refactor prepare variable step
...
* Refactor workflow variables
* Use quotes to avoid word splitting
2023-05-17 00:42:57 -04:00
Joel Spadin
a1e0607a22
fix: Don't specify default C formatter
...
Microsoft's C/C++ extension performs poorly on some systems, so this gives the option to use any other extension that supports formatting with clang-format.
2023-05-14 11:54:34 -06:00
Joel Spadin
d53cd19929
refactor: Add format on save for VS Code
...
Added settings to format various file types on save in VS Code.
Added some recommended VS Code extensions:
- Prettier for formatting various file types
- Python for formatting Python files
- C/C++ for formatting C files
- Devicetree for syntax highlighting
- CMake for syntax highlighting
2023-05-14 11:54:34 -06:00
Albert Y
48be2eedd0
fix(docs): Update QMK debounce references
2023-05-09 21:40:14 -07:00
Alexander Krikun
94789a092c
fix(boards): unify board I2C configuration, use TWI driver
2023-05-04 22:51:54 -07:00
Cem Aksoylar
0239f18b61
feat(boards): Add Corne-ish Zen v1
2023-04-25 23:57:16 -07:00
Cem Aksoylar
39d7f86f70
refactor(boards): Make Zen dtsi non-v2 specific
2023-04-25 23:57:16 -07:00
Cem Aksoylar
4a9c59317f
refactor(boards): Add back default matrix transform to Zen v2 chosen node
2023-04-25 23:57:16 -07:00
Cem Aksoylar
2c70048bee
refactor(boards): Remove duplicated Zen v2 Kconfigs and unused font size
2023-04-25 23:57:16 -07:00
Cem Aksoylar
ab65ffc114
refactor(boards): Fix Zen v2 DTS spacing inconsistencies
2023-04-25 23:57:16 -07:00
Peter Johanson
a6787b08c7
refactor(underglow): Tad more logging.
2023-04-25 23:53:17 -07:00
Joel Spadin
9bd171ede4
fix(docs): Add key to interconnect tabs
...
Added a key property to interconnect tabs list items to fix a React
warning.
2023-04-25 15:50:38 -07:00
ReFil
db08e041c6
feat(boards): Polarity works CKP Series
...
Adds support for the CKP family of boards
BT60V2 ANSIHotswap, ISO Hotswap, ANSI Lowpro and soldered
BT65 ANSI Hotswap, ISO Hotswap and soldered
BT75 ANSI Hotswap and soldered
The BT65 and BT75 are stylised as btXX_v1 in order to maintain compatibility with customers existing zmk-config setups in the same way the BT60 V1 was handled when merged into main.
CKP boards have identical pinmapping between hotswap and soldered so there's only one set of defconfig, dts, keymap, yaml and yml files per size
2023-04-25 13:37:33 -04:00
Peter Johanson
e52e734480
chore: Fix formatting of Kconfig setting.
2023-04-24 23:01:48 -07:00
Peter Johanson
de152fe741
fix(bluetooth): Revert to Legacy LLCP
...
* Reports of constant/frequent disconnects, with HCI err 0x28,
"instant passed", seem linked to newer LLCP that became default
in Zephyr 3.2, so revert to the Legacy LLCP for now until a
proper fix for new LLCP can be found.
2023-04-24 22:41:03 -07:00
Joel Spadin
7a352908ee
docs: Add pre-commit documentation
2023-04-24 16:07:04 -07:00
Joel Spadin
5b07c86d05
chore: Update Prettier
...
Added a workaround to select the latest version of Prettier with
pre-commit, since the pre-commit mirror repo started tracking alpha
releases and doesn't have anything beyond 2.7.1.
2023-04-24 16:07:04 -07:00
Joel Spadin
94061bb916
refactor: Replace tabs with spaces
...
Standardized indentation to use spaces with a new pre-commit hook.
2023-04-24 16:07:04 -07:00
Joel Spadin
32ae776c42
refactor: Add more checks to pre-commit
...
Updated existing pre-commit hooks and added some new hooks:
- Remove trailing whitespace
- Ensure every non-empty file ends with a new line
- Check YAML file validity
- Prevent adding large files
- Ensure any scripts with shebangs are executable
Added a GitHub action to run pre-commit on every commit. Removed any
existing actions which duplicate pre-commit.
Ran pre-commit on the codebase.
2023-04-24 16:07:04 -07:00
Albert Y
9c4f1e02d1
fix(docs): Update references to QMK settings
...
* Remove TAPPING_FORCE_HOLD reference
* Remove IGNORE_MOD_TAP_INTERRUPT reference
2023-04-24 04:24:36 -04:00
Peter Johanson
53dea223b7
feat(shields): Add splitkb.com Kyria Rev3.
2023-04-24 01:20:51 -07:00
Nick Coutsos
9d64c2a3a0
fix(docs): switch sensor rotate parameter order
2023-04-22 17:30:10 -07:00
Nick Conway
3db163aa2c
feat(behaviors): Add reusable sensor behaviors.
...
* Add new sensor behaviors that either take full bindings
add definition, or accept parameters when bound in the
keymap.
* Remove existing hard-coded key press sensor behavior
and instead leverage new generic sensor behaviors to
achieve the same functionality.
Co-authored-by: nick@conway.dev
2023-04-21 21:13:31 -07:00
Peter Johanson
9a73650041
fix(boards): Move nice!60 to SPI3 for underglow
...
* Move to SPI3 for underglow peripheral, needed after the
move to pinctrl.
2023-04-21 11:41:10 -05:00
Joel Spadin
5c6f21b0e0
fix: Fix compiler warnings in sensor code
2023-04-18 00:20:57 -07:00
Joel Spadin
e7a6e4016d
feat(behaviors): Add key position to key events
...
Extended the virtual key position system from combos so that each sensor
also gets a virtual key position. This allows sensor behaviors to use
the behavior queue API.
2023-04-16 23:53:12 -07:00
sporkus
83a151890c
fix(docs): Correct example keymap filename
2023-04-16 13:28:08 -07:00
Josep Roca
71855af14f
fix(docs): ignore-modifiers clarification
...
* Clarify the potential need of adding the ignore-modifiers setting for new sticky key behaviors.
* Add ignore-modifiers setting to skq example
* Update docs/docs/behaviors/sticky-key.md
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-04-16 03:04:49 -04:00
Cem Aksoylar
f1b138cbf0
fix(boards): Fix Zen logo alignment
2023-04-14 14:39:54 -07:00
Purdea Andrei
309359b32f
fix(keymaps): fix keypresses that are not in the transform
...
Before this change, if a matrix position was not present in the transform,
various incorrect behaviors would happen:
1) In some cases out-of-bounds accesses:
Note that the size of the`transform[]` array does not necessarily match
the size of the matrix. So for example if key position
(ZMK_MATRIX_COLS-1, ZMK_MATRIX_ROWS-1) is not present in the transform,
but ends up being pressed, then the array will be accessed beyond its
size, and any data could be returned.
2) In other cases the 0th position in the keymap will be used because
the `transform[]` array is initialized to all zeros.
2023-04-10 03:27:19 -04:00
Xudong Zheng
ee9fcec3c9
feat(core): Process log every 100ms
2023-04-09 23:29:22 -07:00
Xudong Zheng
a20b9502bc
feat(core): Add RTT logging Kconfig option
2023-04-09 23:29:22 -07:00
Xudong Zheng
3f48062225
feat(core): Add Kconfig option to exclude debug log messages
2023-04-09 23:29:22 -07:00
nguyendown
702d79c108
test(behaviors): add unit tests for sticky key quick-release
...
Duplicate the existing tests with `quick-release` enabled:
- 8-lsk-osk-combination-quick-release
- 10-callum-mods-quick-release
2023-04-10 01:50:57 -04:00
Cem Aksoylar
3c8f55ede0
fix(display): Do not override font size in status screen
2023-04-09 21:36:43 -07:00
Joel Spadin
064aff6bc0
fix(behaviors): Fix use after free in sticky key
...
Fixed an issue where the sticky key behavior would call
ZMK_EVENT_RAISE_AFTER(), which would free the provided event, but then
it would keep using that now-freed event data.
2023-04-09 20:17:40 -07:00
Peter Johanson
374104dec6
fix(underglow): Move to spi3 for underglow bus.
...
* Workaround Zephyr bug for Nordic SPI(M) driver after the
pinctrl refactor by using spi3 peripheral for the SPI bus for
the WS2812 led_strip driver.
2023-04-09 14:41:00 -07:00
Joel Spadin
b31b42018a
fix: Remove deprecated labels from zmk_uno
2023-04-08 15:37:48 -07:00
Cem Aksoylar
7434a6b99b
fix(shields): Fix nice!view for deep sleep
2023-04-08 00:41:19 -07:00
Hooky
9dcc3ac375
fix(shields): Fixup nice!view adapter pinctrl props.
...
`pinctrl-0` setting missing `<>`.
2023-04-07 06:53:10 -07:00
Peter Johanson
134b64ef5b
fix(docs): Make link to keymap upgrader work.
2023-04-05 23:18:34 -07:00
Peter Johanson
2614b85634
feat(docs): Add blog post for Zephyr 3.2.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-04-05 22:55:38 -07:00
Peter Johanson
313ed6adb6
fix(display): Tweak EPD driver init/blanking.
...
Ensure we only clear the display when turning blanking off the
first time, not every time, to avoid duplicate clears.
2023-04-05 22:55:38 -07:00
Peter Johanson
0c5bcf5fe4
feat(docs): Add BLE feature/config pages.
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2023-04-05 22:55:38 -07:00
Peter Johanson
1493620bf7
refactor(boards): Move to pinctrl.
2023-04-05 22:55:38 -07:00
Peter Johanson
518f9a550f
fix(underglow): Use DT_HAS_CHOSEN properly.
2023-04-05 22:55:38 -07:00
Peter Johanson
198daaf524
fix(shields): Don't try to disable xiao_i2c on Hummingbird.
2023-04-05 22:55:38 -07:00
Peter Johanson
c3d06b22c8
fix(core): Bump system work queue stack on RP2040.
2023-04-05 22:55:38 -07:00
Peter Johanson
a6ebdb7180
fix(kscan): Default wait between outputs on RP2040.
2023-04-05 22:55:38 -07:00
Peter Johanson
2f9bc2f1f7
fix(logging): Disable USB driver logging.
...
When enabling our high level USB logging, disable the USB driver
logging itself entirely, to avoid logging in the driver causing
errors when USB isn't up yet to send the logs.
2023-04-05 22:55:38 -07:00
Peter Johanson
31f664ffec
fix(boards): Base config/overlay for rp2040 boards
...
Baseline config and overlay for the following:
* `rpi_pico`
* `adafruit_kb2040`
* `sparkfun_pro_micro_rp2040`
* `adafruit_qt_py_rp2040`
* `seeeduino_xiao_rp2040`
* `boardsource_blok`
* `01space_rp2040_042lcd`
Co-authored-by: Joel Spadin <joelspadin@gmail.com >
2023-04-05 22:55:38 -07:00
Peter Johanson
4ff1a4d3ea
refactor: Move to updated Docker images.
2023-04-05 22:55:38 -07:00
Peter Johanson
09ed79a867
refactor: Move away from deprecated label usages.
...
* Move away from DT_LABEL.
* Move to DEVICE_DT_GET for non-behavior device access.
* Move various drivers to `gpio_spec_dt` and `DT` related macros.
* Remove mcp23017 while at it, since better upstream driver is
available.
2023-04-05 22:55:38 -07:00
Peter Johanson
062f94d014
refactor: Remove v1 logging vestiges.
2023-04-05 22:55:38 -07:00
Peter Johanson
e84b4299b5
refactor: Remove deprecated Kconfig override.
2023-04-05 22:55:38 -07:00
Peter Johanson
3a958c667f
refactor: Move to zephyr/ include paths.
...
* Zephyr moved to properly namespaced headers, so major "rip
the bandaid" commit to move us to those everywhere.
2023-04-05 22:55:38 -07:00
Peter Johanson
35a1c5a3d4
refactor(behaviors): Rename reset behavior.
...
* Upstream now has a node w/ label `reset` on many boards, so
renaming our reset behavior node label to `sys_reset`.
2023-04-05 22:55:38 -07:00
Peter Johanson
4f2f9db1d4
refactor(ble): New callback API for pairing complete.
2023-04-05 22:55:38 -07:00
Peter Johanson
d513dc1766
refactor: Move to new PM API.
2023-04-05 22:55:38 -07:00
Peter Johanson
243a227ff9
refactor: Move to LISTIFY/DT_FOREACH_PROP_ELEM macros.
2023-04-05 22:55:38 -07:00
Peter Johanson
69a4c3200d
refactor(display): Updates for LVGL v8.x changes.
...
* LV_ prefix from new LVGL official Kconfig now used.
* API changes for themes, container object removal, etc.
* Add our own Kconfig and code for theme default small font.
* Remove some hardcoded sizes.
2023-04-05 22:55:38 -07:00
Peter Johanson
168b32b828
refactor: Move to Zephyr 3.2 branch.
2023-04-05 22:55:38 -07:00
Peter Johanson
ae8299edb3
fix(boards): Move the CDC ACM node under the USBD.
...
* Ferris board's CDC ACM node was accidentally nested under the wrong
node, causing USB logging builds to fail with cryptic error.
2023-03-25 13:14:12 -07:00
prdktntwcklr
cd64c59b39
fix(tests): ignore line endings
2023-03-21 17:44:49 -07:00
chrissicool
56299ba5dc
fix(boards): Disable CDC by default for CiZ
...
The default configuration for corneish-zen enables a USB CDC endpoint by
default. This is most probably a debugging left-over. Disable that
endpoint. CONFIG_ZMK_USB_LOGGING depends on it anyway, so it will be
enabled again with that config option set.
2023-03-21 20:42:11 -04:00
Robert U
6cb42a8060
feat(behaviors): On-release option for positional-hold-taps
2023-03-12 12:24:00 -04:00
Xudong Zheng
8904407983
feat(underglow): use float for HSB to RGB calculation
2023-02-25 01:44:00 -05:00
dependabot[bot]
5ef6f2f2b7
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs
...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases )
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: http-cache-semantics
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-25 01:27:37 -05:00
dependabot[bot]
719de801e7
chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /docs
...
Bumps [@sideway/formula](https://github.com/sideway/formula ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases )
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: "@sideway/formula"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-25 00:57:00 -05:00
Cem Aksoylar
1d65661efa
fix(keymap): Fix tidbit keymap
2023-02-25 00:53:18 -05:00
Cem Aksoylar
3eee53676f
fix(shields): Fix missing binding in eek keymap
2023-02-21 23:49:56 -05:00
Cem Aksoylar
0c0ebda65b
fix(keymap): Fix default Ergodash keymap
2023-02-21 23:49:10 -05:00
Cem Aksoylar
5d22d76d72
fix(shields): Fix Kyria five column transforms
2023-02-21 23:47:10 -05:00
Cem Aksoylar
72624a41fa
fix(shields): Add missing col-offsets for extra transforms
2023-02-21 23:47:10 -05:00
Omri Kaplan
c065d451cb
fix(shields): Fix keycodes that differ from the default keymap ( #1590 )
...
- Asterisk in layer 1 was mapped to 8
- Underscore in layer 1 was mapped to minus
- Right GUI in layer 0 was mapped to right Alt
- Space in layer 1 was mapped to Return
- Plus was mapped with KP_PLUS
2023-02-07 20:29:38 -05:00
Albert Y
b7d5865e40
feat(docs): additional note on bug fixed in macOS v13.1
2023-02-02 21:23:48 -05:00
Martí Bolívar
9d1070a140
chore(build): update west.yml syntax
...
West has supported a 'name-blocklist' replacement for 'name-blacklist'
since v0.9.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no >
2023-02-01 11:36:55 -05:00
dependabot[bot]
2a5e914a77
chore(deps): bump json5 from 2.2.1 to 2.2.3 in /docs
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-26 19:35:16 -05:00
zhiayang
41830ce19a
fix formatting
2023-01-19 22:30:27 -05:00
zhiayang
fbdb24c6fe
fix(driver): Fix potentially buggy read/write routines for max7318 driver
2023-01-19 22:30:27 -05:00
Joel Spadin
82ff6d8e85
docs: update dev env setup guide
...
Renamed the "Basic Setup" page to "Toolchain Setup" to make it clearer
that this is for setting up a development environment for local builds.
Linked to the relevant Zephyr setup documentation instead of duplicating
that information in our guide. This also switches Windows and macOS
setup to using the Zephyr SDK, which is much easier to install.
Updated the command for installing Zephyr's Python dependencies to be
OS specific, as Windows and macOS don't need the --user flag.
Updated the IDE integration page with instructions for determining the
compiler path that work with the latest version of the Zephyr SDK.
2023-01-19 22:25:10 -05:00
Peter Johanson
a82a0ec496
feat(shields): Add splitkb.com Aurora Lily58.
2023-01-06 20:10:53 -06:00
Peter Johanson
b7b563a4c3
fix(ci): Fix another spot where ` needs escaping.
2023-01-05 12:47:11 -06:00
Peter Johanson
5b9b507de3
fix(ci): Escape ` from JSON metadata files.
2023-01-04 21:40:07 -06:00
Peter Johanson
c23443a086
feat(docs): Generate new shield interconnect docs.
...
* Add to metadata schema for interconnects.
* New conventional location for pinout diagrams/pics.
* New component to generate the tabs for the new shield
doc section on interconnects.
* Add XIAO and arduino uno pinout diagram.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-12-23 02:41:35 -06:00
Cem Aksoylar
d993b03433
feat(docs): Refer to troubleshooting in connecting split halves
2022-12-23 00:20:12 -06:00
Cem Aksoylar
080c47825f
feat(docs): Add caution note about split peripheral sides to user setup
2022-12-23 00:20:12 -06:00
Cem Aksoylar
77d60182bf
feat(docs): Recommend USB testing and warn about BT pairing in user setup
2022-12-23 00:20:12 -06:00
byran.tech
14324390e8
fix(boards): replace nRF3840 with nRF5340
2022-12-22 20:42:57 -06:00
Ladislav Benc
58f8c97d3c
feat(shields): Add a Reviung5 shield
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-12-20 20:49:17 -06:00
Nick Coutsos
6e99a48696
fix(behaviors): Mark sticky key release-after-ms required
2022-12-20 20:38:26 -06:00
Joel Spadin
3eb06f137b
feat: Add global macro timing configs
...
Added ZMK_MACRO_DEFAULT_WAIT_MS and ZMK_MACRO_DEFAULT_TAP_MS to set
global defaults for the wait-ms and tap-ms properties of macros.
Also reduced the default timings for macros, since it's been reported
many times that 100 ms is too slow.
2022-12-20 20:34:25 -06:00
as29
11ca0098a5
fix(docs): Disable encoders in dtsi ( #1600 )
2022-12-20 20:24:32 +00:00
Cem Aksoylar
5cbe572f7d
fix(display): Re-default to blank on idle for OLEDs
2022-12-18 16:34:27 -06:00
Cem Aksoylar
781df31ec4
fix(setup): Fix conf download path in PS script
2022-12-17 17:46:22 -06:00
Cem Aksoylar
b8fb218a01
fix(setup): Make keymap/conf fall back to using dirname
2022-12-16 17:41:39 -06:00
Cem Aksoylar
ebb4cb76d3
fix(boards): Add Zen .conf file for setup script
2022-12-16 17:41:39 -06:00
Darryldh
4a3e783f32
feat(boards): Add Corne-ish zen v2
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-12-16 10:57:25 -06:00
Jerome Olivier
984b16e03b
feat(boards): Add preonic_rev3 board.
2022-12-16 10:52:26 -06:00
hyx0329
4faf6eba97
feat(boards): Add battery sensor for Makerdiary M60 keyboard
...
Signed-off-by: hyx0329 <hyx0329@163.com >
2022-12-14 12:38:03 -06:00
Petrus Claviger
408b87ae7b
fix(docs): Grammatical fixes ( #1587 )
...
Co-authored-by: Dom H <dom@hxy.io >
2022-12-14 14:51:46 +00:00
Peter Johanson
1425d0f2d9
fix(shields): Fix col-offset for splitkb.com corne
...
Same column offset for both transforms, since we use the same
pins for both, just apply a different transform.
Fixes: 1570
2022-12-13 20:46:26 -06:00
Peter Johanson
f03e29ca13
fix(config): Fix split wired detection in setup.sh.
2022-12-11 09:29:58 -06:00
JW2586
617136b45e
feat(shields): Added Waterfowl shield
2022-12-10 23:51:41 -05:00
Joel Spadin
01500b085e
fix(boards): Add nRF5340 DK metadata file ( #1579 )
2022-12-10 22:21:54 -06:00
Kyle McCreery
70aa4fa824
feat(boards): Add PillBug board, blackpill interconnect.
...
* Add blackbill interconnect metadata.
* Add config/overlay for upstream blackpill boards to work with ZMK.
* Add pillbug board.
* Updated new shield docs.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-12-10 22:01:37 -06:00
Joel Spadin
36ee1f4e0a
fix(boards): Fix nRF5340 DK issues
...
- Fixed a stack overflow when enabling Bluetooth.
- Increased the I2C buffer size to support displays.
2022-12-10 21:56:14 -06:00
Pavlos Vinieratos
2b235ae281
fix(boards): Add encoder config to bdn9_rev2.conf
2022-12-10 19:33:50 -06:00
Peter Johanson
63b29ccd32
feat(shields): Add ZMK Uno shield.
...
* Support underglow, backlight, display, encoder, etc.
2022-12-10 17:40:57 -06:00
Peter Johanson
12329b388e
feat(boards): Add Arduino Uno interconnect, nrf52840dk config.
2022-12-10 17:40:57 -06:00
Cem Aksoylar
2a42fe658e
feat(docs): Document battery widget percentage Kconfig
2022-12-10 17:08:37 -06:00
Cem Aksoylar
58eb7a3305
feat(display): Add config to show battery level in percentage
2022-12-10 17:08:37 -06:00
Joel Spadin
6ccb5280c9
fix(docs): Pin Zephyr docs links to a version
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-12-08 01:00:48 -06:00
Joel Spadin
593db85378
feat(boards): Add support for nRF5340 DK
...
Added overlays to support building for the nRF5340 development kit.
Also added some documentation on how to build and flash ZMK for dual-
chip Bluetooth configurations, with an example for the nRF5340.
2022-12-08 01:00:48 -06:00
Kurtis Lew
001105e318
fix(docs): Correct typo in hold-tap comparison balanced flavor
2022-12-01 20:11:31 +00:00
Albert Y
6550c043c4
refactor: Update cradio keymap with better indentation and additional features
2022-11-25 23:02:28 -06:00
dependabot[bot]
4d0e0fa34b
chore(deps): bump loader-utils from 2.0.3 to 2.0.4 in /docs
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-25 21:00:42 -06:00
Nick Coutsos
5cd608cb60
fix(docs): Correct syntax in capsword mods
2022-11-24 19:11:24 -06:00
Xudong Zheng
c7fdce863a
fix(usb): add USB_DC_CLEAR_HALT to supported states
...
See https://manpages.debian.org/testing/linux-manual-4.9/usb_clear_halt.9 for
information on halted USB endpoints
2022-11-17 22:52:32 -06:00
Peter Johanson
9f90dd1fc7
fix(boards): Fix XIAO BLE voltage divider config.
...
* Use proper resistor value for the `output-ohms` property.
2022-11-17 22:46:12 -06:00
Michael Anthony
6e7c2a08a2
fix(docs): Update link to Zephyr led docs
...
* Change Zephyr gpio-leds link to 3.0.0
2022-11-14 16:58:28 -06:00
jhorology
768fc4a5e5
fix: HID report descriptor
2022-11-10 22:15:06 -06:00
Albert Y
1e98ea0afb
fix(ci): Refactor west build step
2022-11-10 22:12:01 -06:00
Peter Johanson
a9048956b5
feat(shields): Add splitkb.com Aurora Corne.
2022-11-10 21:05:26 -06:00
byran.tech
c7d83fb951
fix(docs): changed MacOS to macOS as per Apple styling
2022-11-09 20:38:08 -06:00
Terence Stenvold
9847a4c5d5
fix(docs): copy error not exclusive to Apple silicon
2022-11-09 14:56:22 -06:00
Peter Johanson
2364960f84
feat(shields): Add splitkb.com Aurora Sweep.
2022-11-04 12:13:16 -05:00
Okke Formsma
a61eac9139
fix(behaviors): make tap dances work on a combo
...
* Tap dance event handler goes after combos
* Add test
2022-11-01 15:13:19 -05:00
HookyQR
d393247e15
fix(display): Set bits per pixel and color depth on n!v
2022-10-30 19:50:21 -05:00
Albert Y
4e11913127
feat(docs): troubleshooting steps for macOS 13 Finder bug
2022-10-27 21:03:16 -05:00
Peter Johanson
3353712bc1
fix(docs): npm start to work from Docker.
...
* Listen on 0.0.0.0 so testing docs within our container works
properly with port forwarding.
2022-10-26 23:02:54 -05:00
Peter Johanson
a02eb28271
fix(docs): Move to data-tooltip for profiler.
...
* Fix ESLint warning by using `data-` prefixed custom attr.
2022-10-26 23:02:54 -05:00
Peter Johanson
2d7c8f6073
chore(docs): Bump docusaurus and run audit fix.
2022-10-26 23:02:54 -05:00
Jay Greco
41fdd07315
feat(boards): Add nullbits SNAP shield
2022-10-25 07:50:56 -05:00
dependabot[bot]
f59da74a3e
chore(deps): bump actions/checkout from 2 to 3.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.1.0.
- [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/v2...v3.1.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 22:49:54 -05:00
Albert Y
b90e3ae03d
fix(ci): Replace workflow set-output with environment variables
...
* Needed for deprecation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-22 00:50:44 -04:00
Nick Winans
d3d5b8eb8a
fix(displays): Adjust alignment and spacing
...
* Adjust alignment and spacing
* Fix char array lengths
2022-10-21 23:10:55 -04:00
ebastler
c9eb63199a
feat(keymaps): add NUHS/NUBS alias for Non-US-Backslash/Non-US-Hash
2022-10-17 21:48:19 -04:00
byran.tech
3f00f14e36
feat(docs): Added a Spelling Error Caution Notice
2022-10-15 14:00:09 -05:00
Robert U
ef2e6e9156
feat(behaviors): Add mod-morph keep-mods
...
* Update docs for mod-morph
* Add unit tests for mod-morph
* Add keep-mods to DT binding
Co-authored-by: Martin Aumüller <aumuell@reserv.at >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-10-14 20:40:28 -05:00
Nick Winans
18b8b9b3a5
fix(shields): Disable idle blanking on nice!view
2022-10-14 11:39:47 -05:00
Nick Winans
bdc706f88d
docs(power profiling): add nice!view
2022-10-07 20:43:12 -04:00
Peter Johanson
605d88f266
feat(ble): Default a few configs for DIS GATT svc.
...
Default values for DIS GATT characteristics for:
* Vendor ID
* Product ID
* Manufacturer
* Model
2022-10-05 11:34:37 -04:00
Joe Peterson
a035fe4cc8
docs(codes): Windows Support: F20-F24
...
F20-24 are confirmed to work on Windows 11 via a web based keyboard
tester
Refs: #1476
2022-10-05 09:01:37 -04:00
Joe Peterson
fd5e9e1403
docs(codes): Windows Support: F13-F19
...
F13-F19 are confirmed to work on Windows 11 in VSCode 1.71.2.
Refs: #1476
2022-10-05 09:01:37 -04:00
Pavel Glushkov
1e25ee77d2
fear(boards): Add nrfmicro_13_52833 board
...
* Add nrfmicro_13_52833 board definition.
Co-authored-by: Alexander Krikun <krikun98@gmail.com >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-10-02 22:01:55 -04:00
zhiayang
cc3d5529fd
feat(drivers): Driver for MAX7318 GPIO expander ( #1295 )
...
Add driver for max7318 i2c gpio expander
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-09-29 21:22:01 -04:00
Nick Winans
3d3c45bc80
feature(shields): Add nice!view
...
* Use two shield system, nice_view, and nice_view_adapter
* Build system fixes for interconnect use.
2022-09-29 21:11:26 -04:00
Peter Johanson
30e9accc95
feat(docs): Wait options for matrix driver.
...
* Document `CONFIG_ZMK_KSCAN_MATRIX_WAIT_BETWEEN_OUTPUTS` and
`CONFIG_ZMK_KSCAN_MATRIX_WAIT_BEFORE_INPUTS` options
2022-09-29 01:06:54 -04:00
Peter Johanson
9782518397
feature(drivers): Option for read wait on matrix.
...
* Add a new Kconfig option, `ZMK_KSCAN_MATRIX_WAIT_BEFORE_INPUTS`
to delay reading inputs after setting an output active.
2022-09-29 01:06:54 -04:00
innovaker
0b39bf4336
ci: remove 4- prefix from zephyr-modules cache keys
...
This is no longer required.
2022-09-28 04:08:43 +01:00
dependabot[bot]
fad8dd6612
chore(deps): bump terser from 5.9.0 to 5.14.2 in /docs
...
Bumps [terser](https://github.com/terser/terser ) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-25 23:47:15 -04:00
Kurtis Lew
8976b353ae
fix(docs): Correct mo_tog implementation in tabbed menu
2022-09-25 20:06:20 -05:00
ReFil
b655554b03
refactor(boards): CRBN and Planck keymap fixes
...
* Update planck_rev6.keymap
Third layer was causing problems so i moved reset and bootloader to second layer
* BT_sel functions
A customer requested this so we added it
* Update crbn.keymap
Co-authored-by: Nick Winans <nick@winans.codes >
2022-09-22 15:14:09 -04:00
David A. Bell
8f67333957
Update docs/docs/behaviors/hold-tap.md
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-09-21 23:44:09 -05:00
David A. Bell
9756a16306
fix(docs): Consistent naming in Mo-Tog example.
...
Updated all references in example to conform to Hold action-Tap action wording order.
2022-09-21 23:44:09 -05:00
David A. Bell
597a48ff2d
Update hold-tap.md
...
The bindings for the toggle-layer-on-tap/momentary-layer-on-hold example code were backwards, resulting in toggle-on-hold. This also made momentary unachievable.
2022-09-21 23:44:09 -05:00
ReFil
cc6dd5fc49
chore(lighting): fix deprecation
...
Removed deprecated macros, replace with correct Zephyr 3 implementation
2022-09-13 09:51:46 -04:00
Robert U
3f28a55452
fix(docs): Fix ambiguous tap-preferred desc.
2022-09-11 21:06:04 -04:00
John Drogo
6124d254f9
fix(usb): add USB_DC_RESUME to supported states
...
All credit for this one goes to @xudongzheng (thanks for helping debug
this!). Should fix the issue where keyboards go unresponsive after their
host machine wakes from sleep due to the USB driver entering an error
state. I was able to both reliably reproduce the issue before the patch
goes in and confirmed it no longer occurs post patch.
The `USB_DC_RESUME` state indicates the host event has resumed the connection.
Adding it to the list of valid connection states to prevent the error
when waking from sleep.
Zephyr API Link:
https://docs.zephyrproject.org/apidoc/latest/group____usb__device__controller__api.html#gac09e3e0af1a2b41a5bfbad91f900baf7
fixes #1372
2022-09-11 13:00:20 -04:00
Ben
41bfc56e13
feat(board): add puchi_ble_v1 to boards
...
* feat(board): Add Puchi-BLE v1 board
2022-09-05 18:15:24 -04:00
Elliot Pahl
ce7a0e2b6c
feat(shields): Add Eternal Keypad
...
* Add Eternal Keypad
Co-authored-by: Duccio <ducciobreschi@gmail.com >
2022-09-05 18:07:02 -04:00
Shreyas
391f80f069
feat(hid): Add C_AC_DESKTOP_SHOW_ALL_APPLICATIONS
...
* support for C_AC_DESKTOP_SHOW_ALL_APPLICATIONS
Co-authored-by: Shreyas Kale <shreyaskale@Shreyass-MacBook-Pro.local >
2022-08-22 00:27:47 -04:00
byran.tech
b21ddcf79a
fix(docs): added concrete number for Bluetooth advertising name length
...
* Update new-shield.md
* Update config docs.
2022-08-19 10:29:12 -04:00
Anton
f238001904
doc(keymaps): fix typo ( #1425 )
2022-08-12 07:37:06 -04:00
Pete Johanson
fc511e40cc
fix(behaviors): Fixing erroneous combo triggering, hold-taps sticking
...
* This is a very simple fix to a rather complicated issue. Essentially,
hold-taps will "release" (raise) their captured keys before actually
telling the event manager they have captured a key. This means the event
manager ends up assigning the `last_listener_index` to the hold-tap
subscription rather than the combo. So when the combo calls
`ZMK_EVENT_RELEASE` it raises after the hold-tap instead of after the
combo as the combo code expects.
* The corresponding test (which fails without this change) has also been added.
* An event can be captured and released in the same event handler, before
the last_listener_index would have been updated. This causes some handlers
to be triggered multiple times.
* The solution is to update the last_listener_index before calling the next
event handler, so capturing and releasing within an event handler is harmless.
* Also see discussion at https://github.com/zmkfirmware/zmk/pull/1401
* If our handler dedides our undedided hold-tap,
return early before continuing.
* Fix incorrect pointer logic, resulting in combo
candidate filtering leaving incorrect timeout details.
Co-authored-by: Andrew Rae <ajrae.nv@gmail.com >
Co-authored-by: okke <okke@formsma.nl >
2022-08-03 20:09:50 -04:00
Kurtis Lew
eee7e1cd41
fix(docs): Update tap-dance and hold-tap documentation
...
Co-Authored-By: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-07-30 10:24:49 +01:00
Jason Hazel
be0d49b62d
feat(shields) add support for Spaceman Pancake ( #1400 )
...
* add support for Spaceman Pancake
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
Co-authored-by: Jason Hazel <jhazel@matrixmediaservices.com >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-07-27 11:39:42 -04:00
byran.tech
8bc96ab9fe
feat(docs): added "how is the latency"
...
* Update docs/docs/faq.md
Co-authored-by: Kurtis Lew <kurtis.a.lew@gmail.com >
Co-authored-by: Dom H <dom@hxy.io >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-07-27 09:07:57 -04:00
HanfG
01f51f06dc
fix(docs): Fix col/row properties in kscan.md example
2022-07-27 08:17:40 -04:00
Nick Coutsos
70beff7e62
refactor(docs): Change wording in RGB_COLOR_HSB description
...
Simplify description for second &rgb_ug parameter
2022-07-27 08:15:46 -04:00
Peter Johanson
90b45a1284
feat(display): Blank on idle optionally.
...
* Add new defaulted-on Kconfig option to control if displays
are blanked/unblanked on idle/activity.
2022-07-26 14:12:38 -04:00
Peter Johanson
e3efffa9a8
refactor(display): Move clear to unblank for EPD driver.
2022-07-26 14:12:38 -04:00
Peter Johanson
c4a47c08de
fix(display): Initialize display on queue as well.
2022-07-26 14:12:38 -04:00
byran.tech
54aa3e6a1e
fix(docs): typo fixes
...
* Update user-setup.md
2022-07-25 23:43:56 -04:00
GreenAirplane
f68692effd
feat(docs): Document behavior queue limit for Macros ( #1384 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Dom H <dom@hxy.io >
2022-07-20 16:17:19 +01:00
Peter Johanson
08c43feaaf
feat(kscan): Kconfig for optional scan delay.
...
Add optional Kconfig setting to delay scanning after each
output column is set, and inputs are read, to allow inputs
to "settle" after the last column is set back to inactive.
2022-07-15 11:07:08 -04:00
byran.tech
b1ce8a0d33
fix(docs): typo fixes
2022-07-12 08:47:19 +01:00
Cem Aksoylar
41c9d81096
fix(docs): Update config docs for split Kconfig refactor
2022-07-05 08:42:27 +01:00
Cem Aksoylar
19d8c5ba40
feat(docs): Document new underglow Kconfig
2022-07-05 08:42:27 +01:00
Cem Aksoylar
851c37e14f
fix(docs): Apply suggestions from #722 reviews
2022-07-05 08:42:27 +01:00
Joel Spadin
ae78aa247a
feat(docs): Update power and lighting config pages
...
Moved battery configuration to its own page to match the feature page.
Documented that external power is disabled when in sleep mode.
Clarified that the *_START configs apply on first boot, and any changes
after that are persisted.
2022-07-03 18:55:54 +01:00
Joel Spadin
1646cd7f30
feat(docs): Add a simpler matrix transform example
2022-07-03 18:55:54 +01:00
Joel Spadin
6e67e4a3a5
feat(docs): Update direct GPIO configuration
2022-07-03 18:55:54 +01:00
Joel Spadin
74b4933980
feat(docs): Clarify descriptions of config files
2022-07-03 18:55:54 +01:00
Joel Spadin
e0e0928f9c
fix(docs): Update config docs for review feedback
2022-07-03 18:55:54 +01:00
Joel Spadin
01ffea1b47
feat(docs): Update configuration overview
2022-07-03 18:55:54 +01:00
Joel Spadin
c350f7130b
fix(docs): Fix links in config pages
2022-07-03 18:55:54 +01:00
Joel Spadin
2b122acfc3
feat(docs): Updating lighting config docs
2022-07-03 18:55:54 +01:00
Joel Spadin
e8e6b2a333
feat(docs): Update general system config docs
2022-07-03 18:55:54 +01:00
Joel Spadin
e46eaf5617
feat(docs): Update power config docs
2022-07-03 18:55:54 +01:00
Joel Spadin
71b8f9d4ac
feat(docs): Update display config docs
2022-07-03 18:55:54 +01:00
Joel Spadin
bf84481b47
feat(docs): Update behavior config docs
2022-07-03 18:55:54 +01:00
Joel Spadin
d36792db2d
feat(docs): Update kscan config docs
2022-07-03 18:55:54 +01:00
Joel Spadin
11861a4d30
docs: Add documentation for config options
2022-07-03 18:55:54 +01:00
Cem Aksoylar
6180643581
fix(shields): Remove uses of deprecated pro_micro_a/d nodes
2022-07-03 09:11:23 -04:00
Nick Conway
edec4595ae
fix(behaviors): Fix mod morph description
2022-07-03 09:11:00 -04:00
Cem Aksoylar
91de215bf0
fix(docs): Add missing underglow on/off defines
2022-07-03 13:30:25 +01:00
Kurtis Lew
ef3eb339ed
feat(shields): Add RGB support to 2% Milk
...
Co-Authored-By: treezoob <98245530+treezoob@users.noreply.github.com >
2022-06-26 12:07:54 -07:00
Peter Johanson
da209c453e
refactor(shields): Remove res max Kconfigs
...
* Horizontal/Vertical resolution max is now defaulted
from the DTS chosen display automatically, so
remove the duplication in our shield Kconfig.
2022-06-26 00:27:04 -04:00
ReFil
90e070b427
feat(underglow): Add RGB auto off timeout on idle and on usb disconnect
...
Two new options for functionality to enable/disable RGB for
USB status or idle events.
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
Co-authored-by: ReFil <harryherring@gmail.com >
2022-06-25 10:56:36 -04:00
ReFil
38e079ef37
fix(backlight): Improve initial power on behaviour
2022-06-25 00:37:00 -04:00
Peter Johanson
709441412a
fix: Don't exclude segger, needed for DKs.
2022-06-22 16:37:22 -04:00
Kurtis Lew
edc60e5848
fix(docs): Update keycode usage ID for numeric 4 in key-press.md
...
Co-Authored-By: Robert U <978080+urob@users.noreply.github.com >
2022-06-20 23:27:57 -04:00
Peter Johanson
d7bd81e5c4
fix(usb): Correctly detect USB connection status.
...
* Fix detection of USB power vs. configuration, to ensure endpoint
selection works properly with power-only USB attached.
2022-06-16 00:50:04 -04:00
Kurtis Lew
db43757461
fix(shields): Fix indentation in two_percent_milk.keymap
2022-06-14 19:51:35 -04:00
Peter Johanson
3d2bd01747
fix(split): Raise release events on disconnect.
...
* When a peripheral disconnects from a centraly, raise position events
to release any active positions from that
peripheral.
2022-06-12 22:53:02 -04:00
WSTRN
53bec710d8
fix(displays): Proper battery charge icon sizing
2022-06-09 13:54:36 -04:00
Peter Johanson
4af3d272fc
fix(keymaps): Handle matching then-layers.
...
* Proporly handle multiple conditonal layers w/ the same target
`then-layer` values.
* Move handling to work callback, to avoid re-entrance for cascading
layers enabling other layers.
2022-06-07 23:41:52 -04:00
Peter Johanson
11ac8c4782
fix(build): Fix for proper string variable check.
...
* Properly load variable for comparison for shield name substring
calculations.
2022-06-07 19:43:23 -04:00
Peter Johanson
a7e857f7e1
fix(docs): Fix acorn dep in package lock file.
...
* Use npm version matching Netlify to fix up our lock file.
2022-06-06 11:05:47 -04:00
Peter Johanson
b5e73204e8
fix(drivers): Avoid build failures for GPIO driver
...
* Avoid defining the ZMK GPIO drivers lib if none of the drivers are
selected.
2022-06-05 17:57:35 -04:00
Peter Johanson
505c481f6a
fix: Fixed conf file loading.
...
* Properly locate conf files for the shield dir name.
2022-06-05 01:45:22 -04:00
Peter Johanson
1e8224c296
feat(behaviors): Add DEL/BSPC to continue list.
...
* Continue caps word on delete/backspace by
default now.
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-06-04 01:38:42 -04:00
Peter Johanson
b3c9c18fee
feat(behaviors): Continue on mods in caps word.
...
* Continue caps word when mods are changed, and
match the continue list on combination of
explicit and implicit modifiers.
2022-06-04 01:38:42 -04:00
Peter Johanson
d01bc6afc6
fix(build): Another check w/ upstrream shields.
...
* Properly handle not finding a shield in the board roots.
2022-06-04 05:26:14 +00:00
Peter Johanson
9a9aef78c7
refactor: Remove unneeded left/right conf files.
2022-06-04 00:44:13 -04:00
Peter Johanson
02a85e5d54
chore: Add Hummingbiard/XIAO BLE to core coverage.
2022-06-04 00:44:13 -04:00
Peter Johanson
532c4b9267
refactor(build): Fixes for config/overlay loading.
...
* Move to ZephyrBuildConfig package based on Zephyr best practices.
* Support multiple shields properly, e.g. -DSHIELD="foo bar", which
allows using existing upstream shields like `ssd1306_128x64` along
with another ZMK shield.
* Properly *add* the "ZMK config" .conf file to the conf file list,
so that existing board .conf files in `app/boards/<board>.conf` are
properly honored still. Needed for overrides to usptream boards when
combined with a local `<shield>.conf` file.
2022-06-04 00:44:13 -04:00
Peter Johanson
6a86cd0547
feat(gpio): Add 595 shift register driver.
...
* Use SPI for sending serial data.
* Supports 1-4 shift registers chained together by
setting `ngios` property appropriately.
2022-06-03 22:45:04 -04:00
Peter Johanson
8e67524e62
chore: Bump docusaurus and fix deps issue.
2022-06-03 00:35:07 -04:00
Caleb Goates
6dc436cb23
test(behavior): Add alt-tab test and modded alpha test for toggle key
...
Uses multiple toggles of modifier keys overlapping each other.
2022-06-03 00:04:41 -04:00
Caleb Goates
0977be622a
feat(docs): Add docs for key toggle behavior
2022-06-03 00:04:41 -04:00
Caleb Goates
0d5bb100ba
feat(behavior): Add key toggle
2022-06-03 00:04:41 -04:00
Okke Formsma
c5922fae56
refactor(hid): add mask to HID_USAGE_PAGE macro
2022-06-03 00:04:41 -04:00
Okke Formsma
57fca34dc0
refactor(hid): Move hid logic into hid.c
...
Move the logic for picking the correct hid function into hid.c.
2022-06-03 00:04:41 -04:00
Yomi Ikuru
6150ad65c4
feat(docs): Add tip for improving build times
2022-05-31 21:32:13 +01:00
ClicketySplit
9f79cc2c7b
fix(shields): Add 'chosen' display node for leeloo, README path fix.
...
* Update to include 'chosen' node for OLEDs.
* Updated to correct direction of folder separators.
2022-05-29 23:55:06 -04:00
Peter Johanson
4f503246a3
refactor(split): cmake split clean up.
...
* Cleaner cmake setup for split build.
2022-05-29 19:18:09 -04:00
Peter Johanson
2b9a0ce2a5
refactor(shields): Move to generic central role config.
...
* Use new `ZMK_SPLIT_ROLE_CENTRAL` config instead of BLE
specific Kconfig setting.
2022-05-29 19:18:09 -04:00
Peter Johanson
6539b3ae25
refactor(split): Clean up Kconfig organization.
...
* Seperated configs for split role (central/peripheral)
and transport (BLE only for now).
* Split the configs to align on structure.
2022-05-29 19:18:09 -04:00
Dom H
c679b7e07d
fix(docs): Standardize URLs with no trailing slash
...
Previously, a trailing slash would be appended to all URLs when accessed
directly, but not when accessed via menus and links.
This Docusaurus configuration option keeps the URLs consistent by never
appending a trailing slash.
https://docusaurus.io/docs/api/docusaurus-config#trailing-slash
2022-05-23 10:09:53 -04:00
dependabot[bot]
c11e2caf77
chore(deps-dev): bump eslint-plugin-react from 7.28.0 to 7.30.0 in /docs
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.28.0 to 7.30.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.28.0...v7.30.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-23 10:07:26 -04:00
dependabot[bot]
22a7a98070
chore(deps-dev): bump string-replace-loader from 3.0.3 to 3.1.0 in /docs
...
Bumps [string-replace-loader](https://github.com/Va1/string-replace-loader ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/Va1/string-replace-loader/releases )
- [Commits](https://github.com/Va1/string-replace-loader/compare/v3.0.3...v3.1.0 )
---
updated-dependencies:
- dependency-name: string-replace-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-23 00:25:55 -04:00
Kurtis Lew
8a70d5fccc
feat(docs): Add New Behavior Guide
...
Co-authored-by: Henré Botha <henrebotha@gmail.com >
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Dom H <dom@hxy.io >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-05-21 17:26:10 +01:00
Kurtis Lew
0bde987ae2
Update kscan_gpio_get_extra_flags
2022-05-19 11:24:01 -04:00
Kurtis Lew
6f1adfbe14
Address further review by @petejohanson
2022-05-19 11:24:01 -04:00
Kurtis Lew
4dfcadb1ed
Remove unnecessary LOG_DBG
2022-05-19 11:24:01 -04:00
Kurtis Lew
fec99c7d5e
Update kscan_direct_gpio.c
...
- Fix logic in getting pulls from ACTIVE_LOW vs. ACTIVE_HIGH DT flags
- Add pulls on init
2022-05-19 11:24:01 -04:00
Kurtis Lew
f39c821d19
Simplify kscan_gpio_get_flags
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2022-05-19 11:24:01 -04:00
Kurtis Lew
f369f2cc46
feat(kscan): Add toggle-mode to updated direct-wire kscan
2022-05-19 11:24:01 -04:00
dependabot[bot]
90f3107c49
chore(deps-dev): bump @tsconfig/docusaurus from 1.0.2 to 1.0.5 in /docs
...
Bumps [@tsconfig/docusaurus](https://github.com/tsconfig/bases/tree/HEAD/bases ) from 1.0.2 to 1.0.5.
- [Release notes](https://github.com/tsconfig/bases/releases )
- [Commits](https://github.com/tsconfig/bases/commits/HEAD/bases )
---
updated-dependencies:
- dependency-name: "@tsconfig/docusaurus"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-19 11:02:48 -04:00
Peter Johanson
5b5b3ff2eb
fix(tests): Fix hex formatting.
2022-05-19 10:55:23 -04:00
Peter Johanson
64dadfb336
refactor(tests): Move remaining tests to posix 64.
...
* Update docs and fix up a few lingering tests
to consistently use native_posix_64 target.
2022-05-19 10:55:23 -04:00
dependabot[bot]
37f4f9eb4a
chore(deps-dev): bump @types/react-helmet from 6.1.0 to 6.1.5 in /docs
...
Bumps [@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet ) from 6.1.0 to 6.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet )
---
updated-dependencies:
- dependency-name: "@types/react-helmet"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-19 10:53:43 -04:00
dependabot[bot]
53d70dd08a
chore(deps-dev): bump eslint-config-prettier in /docs
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.3.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.3.0...v8.5.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-18 01:26:46 -04:00
Albert Y
2e89ca036f
Set verbose output, simplify grep command, keep if statement consistent
2022-05-18 01:24:28 -04:00
Albert Y
d72a7e05aa
Add support for custom artifact name
2022-05-18 01:24:28 -04:00
dependabot[bot]
9e39585f85
chore(deps): bump actions/cache from 3.0.1 to 3.0.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.1 to 3.0.2.
- [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/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-18 01:21:45 -04:00
Peter Johanson
16ab6df18d
feat(display): Add new peripheral status/display
...
* Add new API/status to track state of the
peripheral connection to the central.
* Add new peripheral status widget for displaying
the current status of the connection to
the central.
2022-05-17 13:09:21 -04:00
Peter Johanson
0a40f922b5
refactor(split): Seperate peripheral BLE handling.
...
* Move foundational BLE code for split
peripherals to a dedicated file to avoid
tons of conditionals and awkward code.
2022-05-17 13:09:21 -04:00
Cem Aksoylar
25f89ee6ab
feat(battery): Add Kconfig setting for battery level report interval
2022-05-17 12:03:57 -04:00
dependabot[bot]
56fb07dffe
chore(deps-dev): bump webpack from 5.58.2 to 5.72.1 in /docs
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.58.2 to 5.72.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.58.2...v5.72.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-17 01:24:30 -04:00
Joel Spadin
0738b4b2b0
refactor(kscan): Match direct GPIO driver to matrix driver
...
Rewrote the direct GPIO kscan driver to match the improvements made to
the matrix driver in 82cb762698 and
f946dc6893 . It now uses the same
debouncing system as the matrix driver.
2022-05-17 01:20:20 -04:00
Nick Winans
54747a52f9
fix(sleep): use pm_power_state_force for proper device power management
2022-05-17 00:30:47 -04:00
Stefán Páll Sturluson
d7ba7a1bee
fix(codes): typo in C_SUBTITLES.
2022-05-17 00:29:53 -04:00
zhiayang
19cc96b86d
fix(boards): Fix battery ADC channel for Mikoto
2022-05-09 11:31:58 -04:00
Peter Johanson
eca37b6219
fix(boards): Add flash/settings for XIAO BLE
...
* Ensure flash/NVS/settings configs are enabled.
2022-05-08 17:19:18 -04:00
Peter Johanson
41dc774848
fix(boards): Fix key position 4 flakiness w/ RGB
...
* Remove MISO pin from pinctrl for BDN9 rev2 board, to avoid
the 4th switch being set up for an alternate function, which
was causing spurious key press events to be triggered.
2022-05-05 22:58:56 -04:00
Peter Johanson
6227866e8c
feat(setup): Disallow split w/ wired controller.
...
For now, disallow wired split combination during setup.
2022-05-03 05:10:09 -04:00
Kurtis Lew
8bbbf530a7
fix(docs): Remove code-snippet backticks from customization.md title
...
Discussed here: https://discord.com/channels/719497620560543766/883452966114324550/970385441134104747
Code snippets in titles are not formatted properly in page titles
2022-05-01 21:14:19 +01:00
Joel Spadin
d7b912b798
fix(docs): Fix broken links in FAQs
2022-04-30 09:34:30 +01:00
Nick Winans
d33b35513b
feat(usb): Set default HID interval to 1ms (1000Hz)
2022-04-29 21:51:38 -04:00
Dom H
e5843b268c
fix(docs): Clarify timeout-ms for Combos
2022-04-29 14:13:04 -04:00
Peter Johanson
aa3773fb93
fix(build): Use continue-on-error for cache.
...
* Switch to attempting caching, but with
`continue-on-error` so we don't fail builds
while waiting on GH Actions fix.
2022-04-29 16:31:26 +00:00
Peter Johanson
16ffc7aca6
fix(build): Temporarily disable user build caching
...
* GH Actions errors, disabling caching of west
modules for now.
2022-04-29 15:19:47 +00:00
Andrew Rae
b5efc7a7eb
feat(behaviors): Add global-quick-tap
2022-04-27 13:33:22 +01:00
Xudong Zheng
dffae5cf2b
fix(docs): Correct default Mod-Tap behavior
2022-04-26 18:49:15 +01:00
Joel Spadin
11ab52582c
refactor(battery): Auto enable battery drivers
...
CONFIG_ZMK_BATTERY_NRF_VDDH and CONFIG_ZMK_BATTERY_VOLTAGE_DIVIDER are
now automatically enabled if a DT node with the matching "compatible"
property is present and enabled, so they no longer need to be manually
set for each board.
2022-04-25 22:34:04 -04:00
Joel Spadin
6d6efa32f5
refactor(kscan): Auto enable kscan drivers
...
The key scanning drivers are now automatically enabled when a DT node
with the matching "compatible" property is present and enabled, so they
no longer need to be manually set for each board.
2022-04-25 22:28:53 -04:00
Joel Spadin
a3a9510e47
refactor(kscan): Use GPIO DT spec macros in matrix driver
2022-04-25 22:28:53 -04:00
Kurtis Lew
2a38849f4e
fix(docs): Fix link to BT_CTLR_TX_PWR adjustment in Zephyr docs
2022-04-25 19:59:20 +01:00
Nick Winans
2c7e5b9232
refactor(ble): Use auto phy/conn for split
2022-04-24 18:29:18 -04:00
Luigi311
13014d3f28
Remove descriptions and defaults for already set variables
...
Signed-off-by: Luigi311 <luigi311.lg@gmail.com >
2022-04-24 18:29:18 -04:00
Luigi311
7443a917cb
Add ble connection interval support
...
Signed-off-by: Luigi311 <luigi311.lg@gmail.com >
2022-04-24 18:29:18 -04:00
Peter Johanson
486174fc41
fix(split): Raise split notification stack size.
...
* Larger stack for split peripheral notifications
to avois stack overflow with logging on.
2022-04-24 15:08:04 -04:00
Thomas de Barochez
a24cc5d688
doc(backlight): small typo
2022-04-21 18:42:54 -05:00
Peter Johanson
56465354cf
feat(blog): Add second birthday post.
2022-04-21 04:05:25 +00:00
Peter Johanson
9f222fe700
fix: Exclude sof module to avoid build breakage.
2022-04-19 13:42:24 -04:00
Peter Johanson
c8c273d83b
feat(docs): Add TOC to supported hardware page.
2022-04-19 07:05:26 -04:00
dependabot[bot]
158ac27207
chore(deps-dev): bump eslint-plugin-mdx from 1.13.0 to 1.17.0 in /docs
...
Bumps [eslint-plugin-mdx](https://github.com/mdx-js/eslint-mdx ) from 1.13.0 to 1.17.0.
- [Release notes](https://github.com/mdx-js/eslint-mdx/releases )
- [Changelog](https://github.com/mdx-js/eslint-mdx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mdx-js/eslint-mdx/compare/v1.13.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-mdx
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-19 00:56:13 -04:00
dependabot[bot]
e13ea3fbfb
chore(deps): bump @fortawesome/react-fontawesome in /docs
...
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome ) from 0.1.16 to 0.1.18.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases )
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.16...0.1.18 )
---
updated-dependencies:
- dependency-name: "@fortawesome/react-fontawesome"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-19 00:08:14 -04:00
dependabot[bot]
56d5f4153c
chore(deps): bump async from 2.6.3 to 2.6.4 in /docs
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-19 00:06:33 -04:00
Dom H
6308ab9426
fix(docs): Ensure relative links always resolve
...
Linking to the document _file path_ rather than the document _URL_
ensures that the link resolves regardless of trailing slash config.
More information is at https://docusaurus.io/docs/docs-markdown-features
2022-04-18 22:48:53 -05:00
Adrian
3ff8014cf2
ci: sort build configuration output
...
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com >
2022-04-18 23:34:50 -04:00
Adrian
142d518734
ci: make cache hash independent of input parameter
2022-04-18 23:34:50 -04:00
elagil
b7771fbdd2
ci: updated for Zephyr 3.0, cache invalidation
2022-04-18 23:34:50 -04:00
elagil
e676c79929
fix(ci): generalize path to west.yml
2022-04-18 23:34:50 -04:00
elagil
0f70f40054
style(ci): add empty lines for readability
2022-04-18 23:34:50 -04:00
elagil
2c4ca7390b
feat(ci): Use input variables for configuring user build
2022-04-18 23:34:50 -04:00
Adrian
b1687eec2a
fix(ci): path to custom west.yml
...
Co-authored-by: Joel Spadin <joelspadin@gmail.com >
2022-04-18 23:34:50 -04:00
elagil
bbaa6af81b
feat(ci): introduce reusable user-config workflow
2022-04-18 23:34:50 -04:00
Peter Johanson
d0176f3685
fix(boards): Enable battery driver for XIAO BLE.
2022-04-19 01:28:22 +00:00
Dom H
3e294375b6
feat(docs): Provide current status of Displays
2022-04-18 12:15:49 -04:00
Joel Spadin
b7b026f20c
feat(docs): Add battery sensor documentation
2022-04-17 11:30:57 -04:00
Joel Spadin
f91472fbe5
fix(battery): Warn if using deprecated battery label
2022-04-17 11:30:57 -04:00
Joel Spadin
388e345c28
feat(battery)!: Add chosen node for battery
...
battery.c now uses the zmk,battery chosen node to select a battery
sensor. Using the node labeled "BATTERY" is maintained for backwards
compatibility but is now deprecated. Custom boards should switch to
using the chosen node.
# Conflicts:
# app/boards/arm/bluemicro840/bluemicro840_v1.dts
# app/boards/arm/nice60/nice60.dts
# app/boards/arm/nrfmicro/nrfmicro_13.dts
# Conflicts:
# app/boards/arm/bluemicro840/bluemicro840_v1.dts
2022-04-17 11:30:57 -04:00
Nick Winans
d08463e483
fix(ble): Restore manual connection params
2022-04-15 12:25:15 -04:00
DoctorNefario
c7a6836735
fix(docs): Add #include to Underglow upgrade notes
2022-04-14 17:29:09 +01:00
Herald
ebc6275a72
fix(docs): Document ignore-modifiers and quick-release for sticky keys ( #1228 )
2022-04-14 16:13:33 +01:00
DoctorNefario
0e54603ec6
fix(docs): Clarify backlight & underglow use cases
...
This should help reduce confusion for newcomers.
2022-04-14 16:03:29 +01:00
Peter Johanson
40cd8da743
fix(usb): Split HID from core USB, logging fix.
...
* Split core USB init from USB HID init.
* Tweak logging to avoid "log loop" causing
spurious buffer messages on startup.
2022-04-13 13:07:59 -04:00
Peter Johanson
789fd03f8b
fix: Properly use zmkfirmware Zephyr version.
2022-04-12 10:55:05 -04:00
Peter Johanson
1dccb7fe50
fix(hid): Use a full valid range for consumer page
...
* Switch to a logical max for the consumer page
that avoid signed issue, and still allows
full range of documented consumer page
values.
2022-04-10 22:32:09 -04:00
Peter Johanson
8c99313a67
feat(blog): Add SOTF #5 .
2022-04-10 22:11:57 -04:00
Peter Johanson
22c487f276
feat(boards): Add BDN9 rev2 RGB support
2022-04-09 21:57:22 -04:00
Cem Aksoylar
32c8737a22
fix(docs): Fix cmake version requirements
2022-04-08 07:18:44 -04:00
Albert Y
6753d31ee9
docs: Revise "Troubleshooting" for Zephyr 3.0 ( #1214 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
Co-authored-by: Dom H <dom@hxy.io >
2022-04-07 09:26:22 +01:00
Peter Johanson
b44410ac44
feat(shields): Add Hummingbird shield
...
* Reference shield for the Seeed(uino) XIAO interconnect.
2022-04-06 16:26:55 -04:00
Caleb Goates
9c3d909b82
feat(docs): Reference conditional layers from the layers behavior page
2022-04-06 19:11:23 +01:00
DoctorNefario
20a72263b2
fix(behaviors): Prevent accidental transparent behavior return values.
...
Needed because k_work_reschedule can return positive success codes.
2022-04-06 11:00:01 -04:00
Kurtis Lew
7e844bc269
fix(behaviors): Remove behavior_hold_tap_data
...
Related to discussion during development of tap-dance behavior:
https://github.com/zmkfirmware/zmk/pull/1139#discussion_r810564682
This PR suggests to remove the `struct behavior_hold_tap_data` because is not used to store data for each hold tap.
2022-04-06 09:27:39 -04:00
dependabot[bot]
642fe0ce3d
chore(deps): bump browserslist from 4.14.5 to 4.20.2 in /docs
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.14.5 to 4.20.2.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.5...4.20.2 )
---
updated-dependencies:
- dependency-name: browserslist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-06 09:21:01 -04:00
dependabot[bot]
5c83be0de1
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /docs
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-06 09:19:26 -04:00
Peter Johanson
6501e68c2d
fix(docs): Remove breadcrumbs (for now)
...
* Remove breadcrumbs until they're useful
with content for each level in our docs.
2022-04-06 06:01:39 -04:00
Peter Johanson
c259c7b27a
fix(docs): Updated proper API key.
2022-04-06 06:01:39 -04:00
Peter Johanson
17affd8081
refactor(docs): Bump typescript dependency.
...
* Newer `tsc` needed for Docusaurus changes.
2022-04-06 06:01:39 -04:00
Peter Johanson
60d367cbb9
refactor(docs): Bump to docusaurus 2.0.0-beta.18
...
* Fix up the config to use proper locations.
2022-04-06 06:01:39 -04:00
dependabot[bot]
089602fec0
chore(deps): bump url-parse from 1.4.7 to 1.5.10 in /docs
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-05 10:39:41 -04:00
dependabot[bot]
ec80a8139e
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /docs
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-05 10:37:43 -04:00
dependabot[bot]
e77c3fc8d1
chore(deps): bump axios from 0.21.1 to 0.21.4 in /docs
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-05 10:36:38 -04:00
Peter Johanson
3eb3548a00
refactor(tests): Use GH Actions matrix for tests.
...
* To parallelize our tests, generate a dynamic matrix
of tests to run.
2022-04-04 23:36:51 -04:00
Cem Aksoylar
27ba5fdfb3
fix(docs): Improve powershell command for setup script for failure cases
2022-04-03 08:39:15 +01:00
Peter Johanson
fbe0e822dc
fix(blog): Whitespace issue w/ blog addition.
2022-04-03 05:31:05 +00:00
Peter Johanson
140c9c546d
fix(blog): Add note about DTS output step.
...
* The DTS output step needs to be removed for the builds.
2022-04-03 05:10:37 +00:00
Peter Johanson
af4753cae1
fix(behaviors): Missed refactor for PM callback.
2022-04-03 04:37:42 +00:00
Peter Johanson
b4db1b893b
feat(blog): Add Zephyr 3.0 upgrade post.
2022-04-03 00:10:29 -04:00
Peter Johanson
f4fb5c6fba
fix(build): Add local vendor prefix file.
...
Properly document `zmk` local vendor prefix.
2022-04-03 00:10:29 -04:00
Peter Johanson
3c4ff9c82c
fix(docs): Proper links to new SDK version.
2022-04-03 00:10:29 -04:00
Peter Johanson
953f5212a8
refactor(tests): Move to native_posix_64 target.
...
* Allows removing multilib from docker images
* Run properly in aarch64 host docker
containers for testing on Rasberry Pi.
* Small sticky-keys fix to initialize w/ correct
constant for max uin32_t value.
2022-04-03 00:10:29 -04:00
Peter Johanson
35db784b5d
fix: Change detection fixes for interconnect files.
2022-04-03 00:10:29 -04:00
Peter Johanson
97e62f2da5
feat(boards): Add Seeed(uino) XIAO interconnect
...
* Document the Seeed(uino) XIAO interconnect
* Add metadata files for two upstream boards, XIAO and XIAO BLE.
* Add conf and overlay files to properly configure the boards
for ZMK use.
2022-04-03 00:10:29 -04:00
Peter Johanson
9368f6200c
fix(display): Add zephyr,display chosen nodes.
2022-04-03 00:10:29 -04:00
Peter Johanson
5015a88545
fix(split): Proper role checking in BT callbacks.
...
* Properly react to events only for connections
with the correct role.
2022-04-03 00:10:29 -04:00
Peter Johanson
917c6a0660
fix(power): Fix ext power generic driver.
...
* Adjust for device API changes to fetch
ext power driver instance from settings
callback.
* New PM action callback API.
2022-04-03 00:10:29 -04:00
Peter Johanson
4eb8f8cd23
refactor(boards): Use Zephyr UF2 generation.
2022-04-03 00:10:29 -04:00
Peter Johanson
cc51562f78
fix(boards): Move ARM clock config to DTS.
2022-04-03 00:10:29 -04:00
Peter Johanson
9203ae217b
fix(activity): Use proper PM state for sleep.
2022-04-03 00:10:29 -04:00
Peter Johanson
94ac100b6b
refactor: Move to Zephyr v3.0.0 + ZMK fixes.
2022-04-03 00:10:29 -04:00
Peter Johanson
df2e993300
feat(ble): Disable BT_GATT_AUTO_SEC_REQ.
...
* Better compatibility w/ some operating systems, we already
set security level on connects.
2022-04-03 00:10:29 -04:00
Peter Johanson
ded79ba422
fix: Remove deprecated pinmux code.
2022-04-03 00:10:29 -04:00
Peter Johanson
4df83a9c0d
refactor: Move away from deprecated PM callback.
2022-04-03 00:10:29 -04:00
Peter Johanson
bf2fc68070
fix(underglow): Add newly required color-mapping prop.
2022-04-03 00:10:29 -04:00
Peter Johanson
8afe124153
fix(tests): Fix snapshots to account for formatting changes.
2022-04-03 00:10:29 -04:00
Peter Johanson
c5ab8a9444
refactor: Move the DT based CDC ACM setup.
2022-04-03 00:10:29 -04:00
Peter Johanson
2c5d5fde51
refactor: k_work_queue API updates.
2022-04-03 00:10:29 -04:00
Peter Johanson
79ab60dfe5
refactor: Move to new PM API/Kconfig settings.
2022-04-03 00:10:29 -04:00
Peter Johanson
6287819fcc
refactor: Move to USB_DEVICE_STACK symbol.
...
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.7.html#changes-in-this-release
2022-04-03 00:10:29 -04:00
Peter Johanson
3528e1b497
refactor: Move to newer API for IO channels.
...
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.6.html#api-changes
2022-04-03 00:10:29 -04:00
Peter Johanson
40d8470664
refactor: Handle HID macro/API changes in Zephyr.
2022-04-03 00:10:29 -04:00
Peter Johanson
53dae35710
refactor: Move to k_work_delayable API.
...
* Move to new `k_work_delayable` APIs introduced in Zephyr 2.6.
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.6.html#api-changes
2022-04-03 00:10:29 -04:00
Kurtis Lew
28ef19488d
fix(docs): Fix Number of Profiles note in Bluetooth docs
...
Remove hard line wrapping
2022-03-31 09:00:47 +01:00
Joel Spadin
1293175744
fix(docs): Allow CORS for hardware-metadata.json
...
Enabled CORS so external tools can fetch the metadata file.
2022-03-30 07:13:13 -04:00
Albert Y
59d2744a4f
feat(docs): Add settings_reset build instructions ( #1197 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-03-30 09:56:47 +01:00
rhhub
b79b6363a7
fix(docs): Clear up ambiguity on supported hardware page ( #1200 )
2022-03-30 08:51:12 +01:00
Joel Spadin
ed41d42874
feat(docs): Add aggregated metadata to website
...
Added /hardware-metadata.json to the ZMK website.
This gives external tools a way to grab all hardware metadata at once.
2022-03-29 23:03:56 -04:00
Peter Johanson
20fcd35026
fix(docs): AVR, not AMR.
2022-03-29 22:01:15 -04:00
Peter Johanson
7453ce20a8
fix(docs): Whitespace clean-up.
2022-03-29 21:46:23 -04:00
rhhub
b6238fa464
fix(docs): Emphasize AMR processor incompatibility with ZMK
2022-03-29 21:45:21 -04:00
Cem Aksoylar
92e7618346
fix(docs): Fix Windows unicode macro example
2022-03-28 21:16:48 -04:00
Albert Y
5f35a0bf58
feat(docs): Add note on locating tmp file in GH actions ( #1177 )
...
Co-authored-by: Dom H <dom@hxy.io >
2022-03-28 08:44:34 +01:00
ClicketySplit
97e50c39d5
Added BT Configuration Management to Raise Layer
...
Added Function Keys, and some Navigation Keys to Lower Layer.
2022-03-27 15:52:06 -05:00
ClicketySplit
bbfe4b98dc
Updated copyright year.
2022-03-27 15:52:06 -05:00
ClicketySplit
8c66072f93
Updated copyright year.
2022-03-27 15:52:06 -05:00
ClicketySplit
e6a19ab7bc
Updated copyright year.
2022-03-27 15:52:06 -05:00
ClicketySplit
7385ef57bb
Updated copyright year.
2022-03-27 15:52:06 -05:00
ClicketySplit
fddea99cf4
Updated copyright year.
2022-03-27 15:52:06 -05:00
ClicketySplit
53ac073737
Updated copyright year.
2022-03-27 15:52:06 -05:00
ClicketySplit
89d5c496cb
Deleted as recommended.
2022-03-27 15:52:06 -05:00
ClicketySplit
4e4ed73e17
Deleted as recommended.
2022-03-27 15:52:06 -05:00
ClicketySplit
bc0c49b087
Deleted as recommended.
2022-03-27 15:52:06 -05:00
ClicketySplit
c97f7a1044
Update app/boards/shields/leeloo/Kconfig.defconfig
...
Co-authored-by: Nick Winans <nick@winans.codes >
2022-03-27 15:52:06 -05:00
ClicketySplit
ab5517b858
The inaugural commit for Leeloo's firmware.
2022-03-27 15:52:06 -05:00
Peter Johanson
35e73d40f5
fix(boards): Enable direct polling for BDN9.
...
* BDN9 Rev2 requires direct polling,
interrupts don't work as expected.
2022-03-24 03:51:08 +00:00
Peter Johanson
34e1de23fb
feat(docs): Document the macro behavior.
2022-03-23 23:42:54 -04:00
Peter Johanson
3a6a249ad0
feat(behaviors): Add macro support.
...
* Fine grainted press/release/tap actions.
* TIming between actions can be controlled.
* Processed async, to avoid blocking.
2022-03-23 23:42:54 -04:00
Kurtis Lew
58c7c0ee0c
feat(docs): Add tap-dance to feature matrix
2022-03-16 11:06:55 -04:00
Kurtis Lew
32ebe2cfb5
feat(behaviors): Add Tap-Dance behavior
2022-03-16 01:08:42 -04:00
okke
ad5a12a7bc
fix(behaviors): Fix bug in nested sticky keys
...
If multiple sticky keys with quick release were nested, only the first one
was properly released. This fix makes sure all of them are released properly.
Fixes https://github.com/zmkfirmware/zmk/issues/1149
2022-03-15 23:04:45 -04:00
Krzysztof Gutkowski
459972fddd
fix(boards): Adjust matrix for BT60v1 to fix the broken right Shift key
...
according to the diagram from the board creators, it should be RC(3,12)
instead of RC(3,13)
2022-03-14 13:01:54 -05:00
Aaron Nunley
d6a2290d5e
Added support for 2% Milk (Updated with metadata)
...
Update app/boards/shields/two_percent_milk/two_percent_milk.overlay
Co-Authored-By: Nick Winans <nick@winans.codes >
2022-03-14 01:26:24 -05:00
Carlos Filoteo
2b4d5dd7d9
feat(shields): Add elephant42 Shield Support ( #1009 )
...
* Initial Elephant42 implementation
* Add underglow feature
* Fix keymap
* Copy corne defconfig for OLED and LED
* Fix matrix positions
* Add nice_nano_v2.overlay
* Usability improvements to keymap
* Update LED length
* Delete nice_nano v1 overlay
* Remove unused conf files
* Add copyright/license headers
* PR feedback
* Try fixing formatting again
* Minor format
* More missed tabs
* Format
2022-03-14 00:51:55 -05:00
Nick Winans
a1a8c30f7f
Remove deprecated key codes from bat43 keymap
2022-03-14 00:43:03 -05:00
dnaq
745338dc10
feat(shield): Add Bat43 shield
...
See https://kbd.dailycraft.jp/bat43/ for details.
2022-03-14 00:43:03 -05:00
Peter Johanson
37c830fb8a
feat: Add blog post with Zephyr 3.0 prep.
2022-03-08 14:14:15 -05:00
Caleb Goates
594cc55e0c
fix(docs): Update instructions to find settings reset firmware
2022-03-08 06:21:53 -05:00
Kurt
f1b5dc4081
fix(shields): Proper arrow comments in reference keymap
...
swapped the up and down arrows to reflect the bindings
2022-03-05 13:01:41 -05:00
Peter Johanson
1d5b48cb52
fix(shields): Add missing kyria_rev2.keymap
...
Needed for setup.sh script, which assumes the shield ID name, not
the shield dir name for downloading.
2022-02-20 16:24:55 +00:00
Peter Johanson
7b1b979461
fix(shields): Proper siblings for Kyria Rev2.
2022-02-20 16:11:50 +00:00
Peter Johanson
b54128331e
feat(shields): Add Kyria Rev2 shield.
...
* New matrix pin selections.
* New encoder pins.
2022-02-19 23:48:06 -05:00
dependabot[bot]
5cc9b8f71a
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /docs
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-19 23:42:39 -05:00
Dom H
322cc14da6
fix(docs): Remove trailing whitespace
...
Otherwise, prettier fails.
2022-02-16 15:29:02 +00:00
chadbailey59
43ffa6c760
docs: Clarifications within New Shield page ( #1130 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-02-16 11:46:15 +00:00
Dom H
8e91e5ada1
fix(docs): Add behaviors/key-repeat to sidebar
2022-02-12 11:22:19 -05:00
Cem Aksoylar
5c4f26ae74
fix(docs): Tweak label of left-hand positional hold-tap example behavior
...
We see folks copying this behavior node and duplicating it for the right hand,
then forgetting to modify the "label" value and getting confusing runtime
behavior. If we modify the label to be left-specific like this it might be
a better hint to change it when duplicating it.
2022-02-12 07:09:58 +00:00
Cem Aksoylar
22ed448843
fix(docs): Replace deprecated keycode in positional-hold-tap example
2022-02-12 07:09:58 +00:00
Albert Y
7474d985c9
docs: Add guide to build additional keyboards with GH Actions ( #1126 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-02-11 10:05:04 +00:00
okke
cfd0d3d81a
Behaviors: Add 'ignore-modifiers' option to sticky keys
...
To combine multiple sticky modifiers, the sticky keys must ignore
other (sticky) modifier keypresses.
This behavior is important for "callum-style mods", where all modifiers
are sticky mods.
Fixes #829
2022-02-07 14:45:07 -05:00
Cem Aksoylar
c18c3d9106
feat(docs): Add note for combos invoking source-specific behaviors
2022-02-07 09:30:16 -05:00
Cem Aksoylar
76268bae8f
feat(docs): Document locality for backlight behaviors
2022-02-07 09:30:16 -05:00
Cem Aksoylar
a1ef7c8090
feat(docs): Document locality for RGB underglow behaviors
2022-02-07 09:30:16 -05:00
Cem Aksoylar
c0b5985ac7
feat(docs): Document locality for power management behaviors
2022-02-07 09:30:16 -05:00
Cem Aksoylar
5c4bf8a3bb
feat(docs): Document locality for reset behaviors
2022-02-07 09:30:16 -05:00
Peter Johanson
e2a90974e3
fix(lighting): Proper split backlight support.
...
Ensure the backlight behavior is run globally.
2022-02-06 21:04:42 -05:00
Alessandro Bortolin
be94e04963
docs(backlight): improve documentation
2022-02-05 23:40:18 -05:00
Alessandro Bortolin
13a4515300
feat(backlight): add command to cycle brightness
2022-02-05 23:40:18 -05:00
Alessandro Bortolin
2c0fe3934d
feat(backlight): add tests
2022-02-05 23:40:18 -05:00
Alessandro Bortolin
ce843825e8
refactor(backlight): code cleanup
2022-02-05 23:40:18 -05:00
ReFil
5614a8bb80
feat(backlight): initial split support
2022-02-05 23:40:18 -05:00
Alessandro Bortolin
f8bf8bffd5
feat(docs): add backlight to power profiler
2022-02-05 23:40:18 -05:00
Alessandro Bortolin
da41391b1f
feat(docs): add backlight documentation
2022-02-05 23:40:18 -05:00
Alessandro Bortolin
85b2d30bd5
feat(lighting): add backlight behavior
2022-02-05 23:40:18 -05:00
dependabot[bot]
84365e6def
chore(deps-dev): bump json-schema-to-typescript in /docs
...
Bumps [json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript ) from 10.1.3 to 10.1.5.
- [Release notes](https://github.com/bcherny/json-schema-to-typescript/releases )
- [Changelog](https://github.com/bcherny/json-schema-to-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bcherny/json-schema-to-typescript/commits )
---
updated-dependencies:
- dependency-name: json-schema-to-typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-05 23:31:00 -05:00
dependabot[bot]
8678a537c6
chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /docs
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-05 23:23:56 -05:00
dependabot[bot]
614e0f1b2b
chore(deps): bump follow-redirects from 1.14.1 to 1.14.7 in /docs
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-05 23:21:21 -05:00
Lucas Uyezu
4a1254bc27
Add support for Knob Goblin shield
2022-02-03 12:02:45 -06:00
Nick Winans
edbbbc7540
feat(ci): Use metadata for builds
...
* Build per board
* Nightly builds of all boards
* Detect board changes and build those changed
* Core set of boards/shields built otherwise.
2022-02-03 00:15:50 -05:00
Peter Johanson
7430750428
refactor(splits): Minor cleanups to periph invocation
...
* Add strlcpy from public domain version.
* Leverage strlcpy to detect truncation of behavior dev strs, and log.
* Use `offsetof` for cleaner detection on peripheral side.
2022-01-31 23:03:34 -05:00
Peter Johanson
b8700eaaa1
fix(split): Fix an off-by-one error in split svc.
...
* Properly check end of behavior device string for null terminator.
2022-01-31 23:03:34 -05:00
Peter Johanson
dbefe92ea0
fix(split): Slightly improved logging on peripherals.
2022-01-31 23:03:34 -05:00
Peter Johanson
fa110488b0
fix(split): Add define for local source.
...
* Add `ZMK_POSITION_STATE_CHANGE_SOURCE_LOCAL` and use
it consinstently to fix bug w/ local `&reset`, `&bootloader`, etc.
2022-01-31 23:03:34 -05:00
Peter Johanson
4d55e60adb
refactor(behaviors): Always add reset behaviors.
...
* Don'd omit unreferenced reset behaviors, so they are always
available in split peripherals.
2022-01-31 23:03:34 -05:00
Peter Johanson
9297c5f2b4
refactor(splits): Use index for event source.
...
* Track peripherals by indexes slot, with all appropiate peripheral
state stored in the slot.
* Event sources tracked by peripheral slot index.
2022-01-31 23:03:34 -05:00
Peter Johanson
e8540f17fc
fix: Ensure power and underglow behaviors built.
...
* Remove `/omit-if-no-ref/` from the behavior nodes.
2022-01-31 23:03:34 -05:00
Peter Johanson
ce3471d4fe
fix(split): Add queue for running remote behaviors
2022-01-31 23:03:34 -05:00
Peter Johanson
d486304f79
fix(underglow): Handle cycling effects on splits.
...
* Convert relative effect cycling to absolute effect selection.
2022-01-31 23:03:34 -05:00
Pete Johanson
0febaa142a
refactor(split): Clean up split GATT discovery.
...
* Use Zephyr auto CCC discovery instead of doing it ourselves.
* Split service versus characteristic discovery into dedicated
steps in the flow.
* Fix for not searching properly when connecting to a peripheral
a second time.
2022-01-31 23:03:34 -05:00
Pete Johanson
47f873b038
feature(split): behavior locality support.
...
* GATT characteristic allowing passng data + behavior
label to invoke the behavior on the peripheral side.
* Behaviors have a locality setting to specify where they run.
* Build reset/power/RGB on peripheral.
2022-01-31 23:03:34 -05:00
Temur Beissov
c74ae45e17
Lotus58 ( #1090 )
...
* lotus58 shield added
* lotus58 default keymap
* lotus58 keymap legend update
* Lotus58 keymap fix
* lotus58 keymap update
* lotus58 kb name fixed
* lotus58 keymap update
PR fix
2022-01-31 13:02:19 -06:00
Peter Johanson
52b1fd5dd3
fix(behaviors): Capture mods for &key_repeat
...
* When tracking the last keycode, also capture the currently held
explicit modifiers to use when replaying the key later.
2022-01-30 22:47:34 -05:00
Peter Johanson
70bb7c9334
feat(behaviors): &key_repeat behavior + tests.
...
* Add new `&key_repeat` behavior that captures and re-sends
the most recently triggered keycode.
Closes : #853
2022-01-30 22:47:34 -05:00
dependabot[bot]
ac3c3170bd
chore(deps-dev): bump eslint-plugin-react from 7.24.0 to 7.28.0 in /docs
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.24.0 to 7.28.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.24.0...v7.28.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-30 22:45:26 -05:00
Peter Johanson
ed48d1ae89
fix(ble): Restore BLE SC passkey entry for pairing.
...
* Handle capturing numeric inputs while pairing and sending
final passkey once six digits entered.
2022-01-30 22:41:41 -05:00
Sam Mohr
4c317e0feb
Add support for the Clog ( #1092 )
...
* Add support for the Clog
* format DTSI definition
* add a default keymap
* update copyright year, reduce conf to minimum
2022-01-30 14:55:22 -06:00
iangus
4039a50ec3
Add Contra shield ( #633 )
...
* Add Contra Shield (#1 )
* Add bluetooth control layer to contra keymap (#2 )
* fix contra keymap issues
* add bluetooth control layer
* clean up contra files
* add contra.conf file
* add missing bracket for default_layer
* update copyright year to 2021
* add contra metadata file
* refactor pro micro overlay for new syntax
2022-01-30 13:48:35 -06:00
Albert Y
2ad8f687c0
docs: Add a note for GitHub SSH scheme ( #1089 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-01-13 09:23:43 +00:00
David Fiander
970e63bec6
fix(boards): Properly use dfu-util to flash DZ60
2022-01-12 21:36:08 -05:00
zhiayang
d29236141e
fix(boards): Proper active high and init delay for Mikoto ext-power
2022-01-11 16:07:30 -05:00
okke
f692d64d05
test: print test output immediately and decrease indenting
2022-01-04 23:59:25 -05:00
okke
d59797ba13
test: Change length of fail and pend messages
...
This makes scanning the output from "west test" easier, as the different states get different output lengths.
2022-01-04 23:59:25 -05:00
okke
f767abe136
chore: make west scripts more pythonic and apply Black
2022-01-04 23:59:25 -05:00
Midge 't Hoen
e0620f1a2d
Bump init delay to 50ms for nico-nano
2022-01-03 14:39:42 -06:00
KingCoinless
e7a52e2cee
docs(codes): Windows Support: Media Controls
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2022-01-02 10:44:55 +00:00
Evan Callicoat
be343674de
docs: Fix typos and inconsistent spellings ( #1079 )
2022-01-02 10:34:21 +00:00
Kiessling
7b2edbad43
docs(codes): Windows Support: Language/International Inputs
2021-12-29 10:43:02 +00:00
Kiessling
1e4f0147ad
docs(codes): Windows Support: Audio Controls
2021-12-29 10:42:34 +00:00
Kiessling
4a547555bf
docs(codes): Windows Support: Workflow Commands and Locks
2021-12-29 10:41:58 +00:00
Kiessling
ee0f24412b
docs(codes): Windows Support: Symbols, Operations, and Punctuation
2021-12-29 10:41:30 +00:00
KingCoinless
3879267615
docs(codes): Windows Support: Display Adjustment Commands
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2021-12-29 10:40:31 +00:00
Cem Aksoylar
93e76835e4
fix(setup): Use right flags for curl when wget doesn't exist.
2021-12-28 22:13:46 +00:00
Cem Aksoylar
ef0d088cb8
feat(docs): Link to outputs page in troubleshooting re: BT output
2021-12-28 21:17:48 +00:00
Cem Aksoylar
8c321063a0
feat(docs): Add note for USB power in outputs page
2021-12-28 21:17:48 +00:00
Ivan Smirnov
3114ce00b9
docs: reiterate building from zmk/app/ ( #1031 )
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2021-12-28 10:52:16 +00:00
Albert Y
a562578fd2
docs: change quick_tap_ms to quick-tap-ms ( #1071 )
2021-12-28 10:04:18 +00:00
Evan Callicoat
62e3b573b9
Typos
2021-12-26 13:44:46 -06:00
Lucas Yunkyu Lee
2666bd622c
fix(keymaps): add row-offset property to matrix-transform
2021-12-20 06:14:35 -05:00
Alexander Krikun
7b023affbd
Add support for the Jiran ( #1048 )
...
* initial files to get stuff working
* Keymap by Ladniy
* Format update to new standards
* keymap update
* header
* Fixed transform, removed left and right .conf files
* Apply suggestions from code review
Formatting
Co-authored-by: Nick Winans <nick@winans.codes >
Co-authored-by: Nick Winans <nick@winans.codes >
2021-12-14 11:32:59 -06:00
Peter Johanson
f438fb87d8
chore: Add a few more items to PR template.
...
* Kconfig.defconfig conditional correctness.
* Keyboard availability.
2021-12-13 22:40:17 -05:00
Peter Johanson
af98a3fd6e
fix(shields): Don't enable SSD1306 automatically.
...
* Fix Murphpad conditional to ensure SSD1306 driver isn't
enabled whenever `ZMK_DISPLAY` is enabled.
2021-12-13 17:06:46 -05:00
Kyle McCreery
569a2ee2cc
[New Shield] Murphpad ( #806 )
...
* initial commit
* initial commit
* Encode, OLED, and RGB Nice Nano support added as well as refining default keymap.
* tweaking keymap
* Prepared murphpad for PR. Includes adding support for second encoder, OLED, and underglow RGB
* Enabled OLED by default.
* removed naked60 config files
* Per PR feedback from ZMK maintainers, added hardware metadata file and renamed Pro Micro pins.
* removed tabs from keymap and replaced with normal spaces
* Update app/boards/shields/murphpad/murphpad.keymap
Co-authored-by: Nick Winans <nick@winans.codes >
* Update app/boards/shields/murphpad/murphpad.zmk.yml
Co-authored-by: Nick Winans <nick@winans.codes >
* Update app/boards/shields/murphpad/murphpad.zmk.yml
Co-authored-by: Nick Winans <nick@winans.codes >
Co-authored-by: honorless <86894501+lesshonor@users.noreply.github.com >
Co-authored-by: Nick Winans <nick@winans.codes >
2021-12-13 14:41:35 -06:00
Felix Sargent
df1ae494c7
Add boardsource5x12 ( #1027 )
...
* Initial commit of boardsource5x12
* Added copyright/license header
* Update app/boards/shields/boardsource5x12/Kconfig.defconfig
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
* Update app/boards/shields/boardsource5x12/boardsource5x12.overlay
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
* Update app/boards/shields/boardsource5x12/Kconfig.shield
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
* Update app/boards/shields/boardsource5x12/boardsource5x12.keymap
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
* Swapping keymap for what used in Naked60 as it's another 60 key board, so it keeps it consistent.
* Update app/boards/shields/boardsource5x12/boardsource5x12.keymap
Co-authored-by: Nick Winans <nick@winans.codes >
* renamed layers in boardsource5-12
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
Co-authored-by: Nick Winans <nick@winans.codes >
2021-12-13 14:24:21 -06:00
Ryan Butler
eca051efa0
Add support for keeb.io fourier split keyboard ( #1056 )
...
* Add support for keeb.io fourier
* Update app/boards/shields/fourier/fourier_right.overlay
Co-authored-by: Nick Winans <nick@winans.codes >
* Update app/boards/shields/fourier/fourier_left.overlay
Co-authored-by: Nick Winans <nick@winans.codes >
* Convert spaces to tabs in .dtsi
Co-authored-by: Nick Winans <nick@winans.codes >
2021-12-13 13:41:52 -06:00
Sam Mohr
b23934cf94
feat(shields): Add Osprette
2021-12-10 13:20:52 -05:00
Kyle McCreery
a8c7cf4f19
feat(boards): Add S40NC board definition ( #1021 )
...
* initial commit
* initial commit
* Encode, OLED, and RGB Nice Nano support added as well as refining default keymap.
* tweaking keymap
* Prepared murphpad for PR. Includes adding support for second encoder, OLED, and underglow RGB
* Enabled OLED by default.
* Initial commit with settings updated to match schematic.
* Removing test directories.
* removed naked60 config files
* Fixed dogbone definitions to be full working for murphpad.
* Preparing S40NC for PR
* Removed the murphpad test files that were not supposed to be a part of this PR.
* Changing licensing to be from The ZMK Contributors.
* Changed the licensing in the keymap file to be from The ZMK Contributors
* Update s40nc.keymap
2021-12-02 17:21:35 -06:00
toddmok
9148ffd05d
feat(shields) Add Redox Shield Support ( #1002 )
...
* Add redox shield support
* typo
* Pull request fixes
* requested changes
add underglow, add copyright, remove display
* remove because of no display
* comment fix
* bt clear
2021-12-02 12:51:27 -06:00
Peter Johanson
6ef1e7034f
fix(hid): Implicit mods on non-key page events
...
* Properly send the KEY usage page report for modifier changes
when there are state changes to other usages pages that
include implicit modifiers.
2021-12-02 07:18:25 -05:00
Pete Johanson
c4ad3bc5dc
fix(docs): Make the modifier function examples clearer.
...
* Ensure the list of available modifier functions is clearly shown
as macros, not as basic defines.
2021-12-01 16:56:15 -05:00
ReFil
b877410379
fix(boards): BT60 Formatting tweaks
2021-11-30 15:33:12 -06:00
ReFil
99c5a8ee6f
feat(boards): Add BT60 Boards
2021-11-30 15:33:12 -06:00
Josh Johnson
66f90dae3a
feat(shield) Add Chalice support ( #1022 )
...
* add chalice
* add split bs transform
* Update app/boards/shields/chalice/chalice.zmk.yml
Co-authored-by: Nick Winans <nick@winans.codes >
Co-authored-by: Nick Winans <nick@winans.codes >
2021-11-29 11:39:46 -06:00
Cem Aksoylar
b9a35c6ae7
fix(keymaps): Locate shared conf and overlay for split boards.
2021-11-29 07:56:29 -05:00
Nick Winans
0b44321613
fix(shields): Fix typo on Quefrency .zmk.yml
2021-11-29 00:52:57 -05:00
Peter Johanson
54dabffd0d
feat(behaviors): Add caps word (&caps_word).
...
* Add new `&caps_word` behavior that acts like caps lock, but
releases automatically when any "break" keycode is pressed.
2021-11-28 22:41:35 -05:00
Jonathan Rascher
30ed237533
test(conditional-layers): Add tests for edge cases
2021-11-15 05:49:23 -05:00
Jonathan Rascher
6cd1734851
test(conditional-layers): Add interleaved up/downs
2021-11-15 05:49:23 -05:00
Jonathan Rascher
a908396013
test(conditional-layers): Add multi-config tests
2021-11-15 05:49:23 -05:00
Jonathan Rascher
df110beac4
test(conditional-layers): Add basic unit tests
2021-11-15 05:49:23 -05:00
Jonathan Rascher
cbf6e28e34
docs(conditional-layers): Document feature
2021-11-15 05:49:23 -05:00
Jonathan Rascher
e9140b2da9
feat(conditional-layers): Implement feature
...
This is a generalization of the existing concept of tri-layer support
that's already well known. Essentially, a conditional-layer
configuration activates a particular layer (the then-layer) when one or
more other layers (the if-layers) are activated.
This is commonly used on ortho keyboards to activate a third "adjust"
layer while the primary two layers ("lower" and "raise") are active.
2021-11-15 05:49:23 -05:00
Peter Johanson
f8018b22d0
fix(hid): Basic consumer code fixes for signed logical max.
...
* Logical max values are signed, so for the report descriptor, use a two
byte logical max descriptor item to impart proper 0xFF max logical
value.
2021-11-09 10:38:49 -05:00
Viet (Drake) Tran
c412fad40d
fix(shields): Fix some keycodes in reviung41 keymap
...
Notice some keycodes are not matched with the expected keys.
2021-11-09 10:26:21 -05:00
jding
4e62319982
feat: hold/tap flavor tap-unless-interrupted
...
Implements new hold/tap flavor, tap-unless-interrupted
Adds tests
Adds docs
2021-11-09 01:07:05 -05:00
Hai-Ninh Dang
f2e0642291
feat(boards): Add Mikoto board
...
* Supports selecting from several possible charge currents
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2021-11-09 00:57:24 -05:00
dependabot[bot]
944f931704
chore(deps): bump DoozyX/clang-format-lint-action from 0.12 to 0.13
...
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action ) from 0.12 to 0.13.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases )
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.12...v0.13 )
---
updated-dependencies:
- dependency-name: DoozyX/clang-format-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-04 22:47:15 -04:00
Peter Johanson
0b0b49d626
fix(split): Properly rediscover peripherals.
...
* Handle disconnects of peripherals, and properly clean up
and resume discovering for when the peripheral re-appears.
2021-11-04 22:31:56 -04:00
jmding8
73fd4b9230
fix(behavior): Properly break in decision switch statement.
...
Co-authored-by: jding <jding@roblox.com >
2021-11-01 13:51:12 -04:00
jmding8
19ee7849f8
feat(behaviors) Required keys for tap-hold behaviors
...
* Add optional `hold-trigger-key-positions` hold-tap configuration
* Leverage configuration for decision making around when to trigger
hold decision in hold-taps.
* Add docs for new configuration.
* Tests for the new config/decision logic.
2021-11-01 12:37:20 -04:00
Joel Spadin
f946dc6893
feat(kscan): Improve matrix debouncing
...
Switched the GPIO matrix driver to debouncing using a simple integrator
algorithm. Whenever a key is pressed, we now scan at a rate controlled
by debounce-scan-period-ms (default 1 ms) until all keys are released,
then return to either waiting for an interrupt or polling more slowly.
The timers for key press and release can now be controlled separately,
so debounce-period is deprecated in favor of debounce-press-ms and
debounce-release-ms. Global Kconfig options
ZMK_KSCAN_DEBOUNCE_PRESS_MS and ZMK_KSCAN_DEBOUNCE_RELEASE_MS are also
added to make these easier to set.
Added documentation for debouncing options.
2021-10-26 23:52:13 -04:00
Peter Johanson
5cc7c280a5
refactor: Move to explicit docker.io/* image references.
...
* Some runtimes (e.g. podman), require explicit registries in image URLs
or will prompt for the user to select one, which breaks things like
VSCode remote container rebuilds.
2021-10-23 15:33:42 -04:00
Jonathan Rascher
e3eb77dfc6
refactor(combos): Use ZMK_KEYMAP_EXTRACT_BINDING
...
Now that PR #506 is merged, we can address this TODO.
2021-10-20 23:36:31 -04:00
dependabot[bot]
503bb0ec2f
chore(deps): bump @fortawesome/react-fontawesome in /docs
...
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome ) from 0.1.14 to 0.1.16.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases )
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.14...0.1.16 )
---
updated-dependencies:
- dependency-name: "@fortawesome/react-fontawesome"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-20 22:56:45 -04:00
Manuel Transfeld
05167c6539
fix(docs): Typo fix, open -> upon
2021-10-20 22:54:48 -04:00
Peter Johanson
e6c815f1b0
fix: Properly find boards in user config repos.
2021-10-19 13:29:36 +00:00
Peter Johanson
0dc7d46eb1
fix: Only search for board one not found yet.
2021-10-18 20:08:35 -04:00
Peter Johanson
742f4c2826
fix(keymaps): Properly locate split board keymaps.
...
* Find the unified keymap filename for onboard controller split
keyboards.
2021-10-18 20:08:35 -04:00
Peter Johanson
01d2102c23
refactor: Add js-yaml dep, scrtipt gen tweaks.
...
* Make the synthetic "base name" property double underscore prefixed,
since internal, and to avoid future conflicts w/ YAML format add'ns.
* Switch to PS hash dictionaries for our metadata collections for saner
data inspection/use.
2021-10-16 21:50:58 -04:00
Peter Johanson
e544d74948
refactor: Config setup scripts to support onboard keyboards.
...
* Use unified config template repo that uses an external
build matrix YAML file.
* Proper handling for onboard keyboards, including splits, and
supports for appending the right build matrix once selected.
2021-10-16 21:50:58 -04:00
eyenseo
6f29453041
[squash] implement feedback
2021-10-13 09:51:02 -07:00
eyenseo
51298f1d22
Add ergodash
2021-10-13 09:51:02 -07:00
Dom H
e11477f7b1
chore: Add note about copyrights on PR checklist
2021-10-12 22:27:33 -04:00
Richard Kjerstadius
a774ce8555
fix(display): Increase char buffer size to fit all symbols
...
Recent refactoring of the font handling seems to have broken the display
of the last symbol of the output status widget. From my analysis the
last symbol is truncated because the buffer simply is too small.
Increasing the buffer size to 9 fits all three possible symbols.
2021-10-12 12:00:21 -04:00
git@jrhrsmit.nl
f221ff1dc7
add ranges and descriptions from #669
2021-10-11 09:46:17 -07:00
Nick Winans
f23f427cae
fix(underglow): Run clang-format
2021-10-10 17:43:57 -07:00
Simon Malinge
c5b8dd85fd
feat(underglow): Add support for configurable min/max brightness
...
Co-authored-by: jrhrsmit <jasper.770@gmail.com >
2021-10-10 17:43:57 -07:00
Jonathan Rascher
96fea949d5
docs(docs): Document up-to-date Node.js repo
...
For example, Debian Bullseye (current stable) packages Node.js version
12, which is too old to build the docs successfully. At least version 14
is required, and version 16 is current. General advice seems to be to
install from the NodeSource repo instead of your distro's repo, so I
added a suggestion to the docs.
2021-10-10 12:20:35 -07:00
Peter Johanson
bc179b1030
feat(hid): Kconfig for basic/full consumer usages.
...
* Add ZMK_HID_CONSUMER_REPORT_USAGES choice to allow choosing
between full consumer usage range, with poor OS compat,
or basic consumer usage range, with broader compat.
2021-10-04 23:01:39 -04:00
Pete Johanson
91ba034896
feat(hid): Configurable NKRO HID report support.
...
* Add Kconfig settings for NKRO or HKRO (boot compatible), HID
report types for keyboard page.
* Updated report storage and set/unset for each config.
2021-10-04 23:01:39 -04:00
Aleblazer
063b496c26
feat(boards): Add Zodiark shield
2021-10-03 23:47:23 -04:00
Nick Winans
19a7d686fb
chore: Add board/shield checklist for new PRs.
2021-10-03 23:29:59 -04:00
Brandon Xie
3b8244e466
feat(shields): Add Naked60BMP shield
2021-10-03 23:23:54 -04:00
Nick Winans
e6645882c3
feat(docs): Update documentation to match new Pro Micro nodes
2021-09-25 23:09:21 -04:00
Nick Winans
687e91ab18
feat(boards): Remove usage of pro_micro_a/d nodes
2021-09-25 23:09:21 -04:00
Nick Winans
4a03214e06
feat(boards): Add D18-21 to Pro Micro pin mappings
2021-09-25 23:09:21 -04:00
Peter Johanson
014e5ba93c
refactor(boards): Remove leftover right split name
2021-09-26 01:21:49 +00:00
Nick Winans
10870b24bf
fix(docs): Update split naming system
2021-09-25 21:17:24 -04:00
Nick Winans
478cf94374
refactor(boards): Remove "left" from split keyboard names
2021-09-25 21:17:24 -04:00
Nick Winans
36ced48e53
refactor(boards): Remove split right keyboard names
2021-09-25 21:17:24 -04:00
Peter Johanson
3e6a3758ed
refactor(display): Saner font selection/defaults.
...
* Only select fonts for the default built in status screen
* Leverage theme default fonts, instead of hardcoding theme
details in each component.
2021-09-25 19:43:20 -04:00
Peter Johanson
2128b2b55f
refactor(display): Output/layer/battery thread safety.
...
* Submit widget updates to display queue.
* Use mutex to control access to shared state for widgets.
2021-09-25 17:17:04 -04:00
Peter Johanson
063d98e3df
feat(display): Optional dedicated work queue.
...
* Add new Kconfig settingsx to allow selecting system or dedicated
work queue for performing UI updates.
* Allow UI updates to not block other system tasks when display is
updating, especially important for e-ink displays.
2021-09-25 17:17:04 -04:00
Cem Aksoylar
9f2785786f
fix(setup): Fix sed delimiters for Cradio
2021-09-24 15:56:36 -04:00
Richard Titmuss
5d2120ad17
fix(docs): Typo EC11_CONFIG
...
This should be CONFIG_EC11
2021-09-24 02:15:56 -04:00
Xudong Zheng
212a05feb3
fix(hog): use OR instead of AND for bitmap
2021-09-23 20:47:40 -04:00
Dom H
db4bbbf9eb
fix(shield): Update URL in A. Dux metadata
2021-09-23 14:57:40 -04:00
Dom H
80b01c7265
refactor(shield): "Architeuthis Dux" to "A. Dux"
...
The shorter name is more user-friendly.
2021-09-23 14:57:40 -04:00
Dom H
0c15c2291e
feat(shield): Add Architeuthis Dux shield
2021-09-23 14:57:40 -04:00
Dom H
c52887e236
fix(docs): Remove build.yml from new shield steps
2021-09-22 17:35:08 -04:00
Peter Johanson
a7908a94de
fix(hog): encrypt perm for HID report map/ref.
...
* Workaround for ensuring macOS pairing happens early enough,
for their stack, we require encryption for the hids report map and
report ref characteristics as well, to trigger pairing ealier in the
connection process for macOS.
2021-09-18 15:43:26 -04:00
Dom H
8bdd270c91
fix(docs): Set "Mouse Keys" as "Under Development"
2021-09-17 10:49:56 -04:00
Michael van Eerd
50174af658
fix(docs) add BT_PRV as suggested
...
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com >
2021-09-17 10:45:37 -04:00
Michael van Eerd
c27c1048e4
fix(docs) Bluetooth behavior typo
2021-09-17 10:45:37 -04:00
Michael van Eerd
748bc75587
fix(docs) Move Number of Profiles note down
2021-09-17 10:45:37 -04:00
Michael van Eerd
05b0353219
feat(docs) Clarify Bluetooth profile pairing
2021-09-17 10:45:37 -04:00
Richard Titmuss
d769618b3f
fix(docs): Remove unnecessary security warning for MacOS
...
The security warning applies for downloaded executables. If you are
following the instructions the toolchain is installed with brew and
the security warning does not apply. This is explained in the removed
link.
2021-09-17 10:43:48 -04:00
nevin
93fbf8dd97
fix: Use correct Quotation marks on line 65 ( #942 )
2021-09-16 21:33:18 -04:00
Cem Aksoylar
33fa15a235
feat(docs): Add note to clarify shared .conf files do not apply outside zmk-config
2021-09-14 20:51:05 -04:00
Pete Johanson
c9a671d8d5
fix(kscan): Allow composite driver to handle missing children.
...
For split keyboards using an IO expander over TRRS/i2c, if the
right half isn't connected, we should be able to gracefully
fallback to the left side still working.
2021-09-14 20:48:28 -04:00
Peter Johanson
e42590a049
feat(board): Add Ferris 0.2 boards
...
* Onboard stm32f072 with mcp23018 IO expander.
* No underglow support yet.
* Miryoku inspired default layout.
2021-09-14 20:48:28 -04:00
Pete Johanson
647110e5e5
feat(drivers): Add mcp23017 driver based on upstream mcp23s17 one.
...
* Upstream Zephyr has in progress driver, so doing this locally here,
until we can move over to that driver.
2021-09-14 20:48:28 -04:00
Peter Johanson
2f0ad4cc8c
fix(setup): Fix setup.ps1 to check Get-Acl exists
...
* `Get-Acl` not found in Linux Powershell version, so only call it
if it exists.
2021-09-13 22:04:55 -04:00
Peter Johanson
c7e513634d
feat(metadata): Add YAML check/format npm scripts.
2021-09-11 00:50:36 -04:00
Peter Johanson
39eb80562d
feat(metadata): Add MakerDiary nRF52840 M.2 interconnect
...
* Add interconnect details.
* Add m60 and nrf52840_m2 metadata files.
2021-09-11 00:50:36 -04:00
Peter Johanson
7bf68f2a00
refactor(docs): Remove build.yml for new shield.
...
* No longer recommending that all new shields get added to the
build matrix in `build.yml`, so we avoid conflicts.
2021-09-11 00:50:36 -04:00
Peter Johanson
0c3f1309c6
refactor(boards): Add metadata for boards.
...
* Standalone and pro-micro format board metadata added.
2021-09-11 00:50:36 -04:00
Peter Johanson
7d65539735
fix(docs): Deploy when boards/shields change.
2021-09-11 00:50:36 -04:00
Peter Johanson
2907704f9f
refactor(shields): Add pro-micro shield metadata.
2021-09-11 00:50:36 -04:00
Peter Johanson
f8e88d78c4
docs: Add docs on hardware metadata files.
2021-09-11 00:50:36 -04:00
Peter Johanson
b82bbb5ba2
feat: Generate setup scripts from metadata.
2021-09-11 00:50:36 -04:00
Peter Johanson
683991aa93
feat(docs): Type check the docs TSX components.
2021-09-11 00:50:36 -04:00
Peter Johanson
47abbe7925
feat(docs): Add dynamic hardware list component.
2021-09-11 00:50:36 -04:00
Peter Johanson
5e6634d2e5
feat(docs): Add TS type gen, metadata JSON gen
...
* Generate TS types from new hardware metadata schema.
* Aggregate all hw metadata YAML into one aggregate JSON
file for consumption by others.
2021-09-11 00:50:36 -04:00
Peter Johanson
b52835ffbf
feat: Add a few sample hardware metadata files.
2021-09-11 00:50:36 -04:00
Peter Johanson
1d69bdda60
feat: Add hardware metadata schema.
...
* Initial hardware metadata JSON schema.
* GH Action to validate all schemas for boards/shields.
2021-09-11 00:50:36 -04:00
Dom H
4a5454b0f9
fix(shields): Add note about Cradio pin arrangement
2021-09-08 15:12:58 -04:00
Joel Spadin
82cb762698
refactor(kscan): Demacroify GPIO matrix driver
...
Refactored the GPIO matrix kscan driver so that only the data and config
structures are defined in the foreach macro. Functionality is unchanged
except for the addition of DT properties to adjust polling speed.
This should make it easier to add other enhancements later, like
improved and customizable debounce behavior.
2021-09-08 14:34:28 -04:00
Cem Aksoylar
2a9ab828b5
fix: Add semicolons for tidbit and eek in setup script
2021-09-03 23:11:05 -04:00
Peter Johanson
e491c282e7
fix(display): Add proper LVGL label dep.
2021-08-27 23:06:28 -04:00
Darryldh
a124eb9f9e
feat(display): IL0323 driver for EPD displays.
...
* Basic driver, using the GD7965 driver as a basis, since the ICs
are very similar.
2021-08-24 22:15:42 -04:00
Martin Aumüller
08078210da
fix: Planck rev 6.1
...
My Planck rev 6.1 would not register any keys without "col2row".
I also had to apply a matrix_transform in order to move them to the
correct position. Peeking into #228 helped for finding this.
I also add transforms for the 2u spacebar layouts.
2021-08-24 21:21:18 -04:00
chad3814
b235034dc9
fix typo
...
"load your newly flashed firmware" not "load your newfly flashed fireware"
2021-08-12 19:14:44 -05:00
Steven Nguyen
db1afe6037
fix: basic setup link
2021-08-12 19:12:30 -05:00
Nick Winans
d964faaa89
fix(docs): Standardize all internal links
2021-08-12 20:07:45 -04:00
chad3814
689ba2d171
fix(docs): Fix "All" typo
2021-08-12 00:08:49 -04:00
Joel Spadin
6870fdc604
fix(docs): Appease Prettier
...
Fixed code formatting in docs files.
2021-08-08 13:17:27 -05:00
Peter Johanson
47109641d8
Add warning about peripheral encoders.
2021-08-04 22:25:41 -04:00
Peter Johanson
08687b1709
fix(display): Update output status on endpoint selection change.
2021-08-03 00:19:05 -04:00
Peter Johanson
d05d7ec2d2
feat(endpoints): Add endpoint select changed event.
2021-08-03 00:19:05 -04:00
Peter Johanson
9d34cf561e
fix(usb): USB state changes in system thhread.
...
* Use a `k_work` to send usb status events from the system
workqueue thread, not the USB work thread.
2021-08-03 00:19:05 -04:00
Nick Winans
cf5c56c4f1
feat(boards): Use the nRF VDDH driver for the nice!nano v2
2021-08-02 21:56:53 -04:00
Nick Winans
1cafbd8069
fix(power): Manually trigger pm_low_power_devices() before sleep
2021-08-02 21:48:42 -04:00
Nick Winans
2b9deb824b
feat(power): Update device power management Kconfig
2021-08-02 21:48:42 -04:00
Devon Allie
f31ffd8acb
fix(shields): Clean up default corne keymap.
2021-08-02 19:12:11 -04:00
dependabot[bot]
3b9e9a7c1c
chore(deps-dev): bump eslint from 7.29.0 to 7.32.0 in /docs
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.29.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.32.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-02 19:09:47 -04:00
Felix Sargent
6d105f324b
Update docs to use “SQT” instead of “QUOTE” ( #839 )
...
* Update default keymap to use SQT
Instead of the invalid “QUOTE”
* Update keymap-example-file.md
* Update docs/docs/keymap-example.md
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2021-07-27 18:18:52 -05:00
Joel Spadin
a6de43e665
feat: Add nrf VDDH battery driver
...
Added a driver which uses the nRF52's ADC channel on the VDDH pin to
read the battery voltage when using high voltage mode.
2021-07-24 23:39:13 -05:00
Joel Spadin
824d605c22
fix(docs): Fix keymap upgrader
...
Bumped web-tree-sitter to v0.19.4 and added v0.4.0 of
tree-sitter-devicetree, which had to be rebuilt to work in v0.19.x
https://github.com/joelspadin/tree-sitter-devicetree/releases/tag/v0.4.0
Changed how we patch web-tree-sitter to correctly load tree-sitter.wasm
to work with the latest version of Docusaurus. Including a copy of
tree-sitter.wasm as a static resource is no longer needed.
2021-07-24 13:12:54 -05:00
Joel Spadin
0325fe9a18
docs: Switch back to package version 2
...
package-lock.json was rewritten to version 1 in
13dbbefcb4 .
2021-07-24 13:12:54 -05:00
Peter Johanson
861a2bf6d0
fix: Add missing semicolon for nano V2 case.
2021-07-21 22:06:32 -04:00
innovaker
a8c0c76fca
docs(setup): replace zephyr-west-action with zmk-docker
...
This should've been changed after #481 .
See: https://github.com/zmkfirmware/zmk/pull/481
PR: https://github.com/zmkfirmware/zmk/pull/845
2021-07-18 03:52:45 +01:00
Peter Johanson
13dbbefcb4
chore(deps): bump @docusaurus/* to 2.0.0-beta.3
2021-07-17 22:10:36 -04:00
Peter Johanson
6217664bc3
feat(docs): Add Zephyr 2.5 blog post.
...
Simple blog post outlining the work done for the Zephyr 2.5 upgrade,
and steps needed to make the most of it.
Co-authored-by: innovaker <66737976+innovaker@users.noreply.github.com >
2021-07-17 17:04:25 -04:00
innovaker
03a3968018
feat(devcontainer): bump zmk-dev-arm to 2.5
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
5542c105ed
ci: bump zmk-build-arm to 2.5
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
47043c86e9
docs: bump Zephyr documentation links to Zephyr v2.5.0
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
c03046e54a
docs(setup): add x86_64-linux to Zephyr SDK setup filename
...
See: zmkfirmware/zmk-docker@b8341e185a
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
76979d293a
docs(setup): bump ZSDK_VERSION to 0.12.4
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Peter Johanson
65ff995033
fix(display): Avoid fault w/ LVGL API usage.
...
* Increment the tick from within the ISR itself.
* Don't call task handler until in the display callback.
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Peter Johanson
b2d64fe598
refactor(boards): Switch proton_c to newer pinmux approach.
...
See: https://github.com/zephyrproject-rtos/zephyr/issues/28999
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Pete Johanson
d7475f792f
fix(boards): Enable pinmux for bdn9_rev2 by default.
...
See: https://github.com/zephyrproject-rtos/zephyr/issues/28999
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Pete Johanson
6c23bb5c11
fix(tests): Revert default to previous formatter.
...
* new cbprintf formatter causes issues for our use of string formatting.
See: https://github.com/zephyrproject-rtos/zephyr/pull/29876
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Pete Johanson
2a69f31eb0
refactor(core): Move away from deprecated DT API.
...
* Move to `DEVICE_DT_INST_DEFINE` everywhere.
See: https://docs.zephyrproject.org/2.5.0/releases/release-notes-2.5.html#deprecated-in-this-release
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
ad981c3bbd
refactor(core): update power API to Zephyr v2.5.0
...
See: https://github.com/zephyrproject-rtos/zephyr/pull/29410
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
71a85a0c8e
feat: bump zephyr to v2.5.0+zmk-fixes
...
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
Nick Winans
9c1319c4ff
feat(docs): Add nice!nano v2 to scripts, actions, and documentation
...
asdf
asdf
asdf
2021-07-15 18:52:28 -04:00
Nick Winans
edb3ff1bb1
feat(boards): Add nice!nano v2
2021-07-15 18:52:28 -04:00
dependabot[bot]
fc014b2506
chore(deps-dev): bump eslint from 7.28.0 to 7.29.0 in /docs
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-21 20:13:15 +01:00
dependabot[bot]
18c988d7e9
chore(deps): bump @docusaurus/preset-classic in /docs
...
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) from 2.0.0-beta.0 to 2.0.0-beta.1.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.1/packages/docusaurus-preset-classic )
---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-21 20:04:07 +01:00
dependabot[bot]
64ea0f2543
chore(deps): bump @docusaurus/core in /docs
...
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus ) from 2.0.0-beta.0 to 2.0.0-beta.1.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.1/packages/docusaurus )
---
updated-dependencies:
- dependency-name: "@docusaurus/core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-21 17:15:34 +01:00
innovaker
576ce76ad3
docs(setup): fix whitespace in Fedora toolchain install command
...
Aligns Fedora whitespace with Debian.
2021-06-16 16:23:53 -05:00
innovaker
84a5fec458
docs(setup): remove extra slash from Fedora toolchain install command
2021-06-16 16:23:53 -05:00
innovaker
6f3a2529ae
docs(setup): fix whitespace mismatch in host dependencies
...
Replaces spaces with tabs (bzip2).
2021-06-16 16:23:53 -05:00
Okke Formsma
efa497c69b
fix(behaviors): Fix timing of delayed hold-tap trigger
...
A hold-tap timer event would be triggered too soon if the hold-tap
was delayed for longer than its tapping-term. This may cause
accidental hold behavior when the correct behavior would be tap.
By queuing the timer event instead of executing it immediately,
other delayed events get a chance to be processed properly.
2021-06-13 10:44:18 -04:00
David Barr
0f28130493
fix(shields): Cradio v2 keymap/shield improvements
...
* fix cradio dtsi add new keymap and readme
Co-authored-by: Dom H <dom@hxy.io >
2021-06-10 16:50:13 -04:00
Peter Johanson
84ce6b066a
fix(docs): Add permanent redict to zmk.dev domain.
2021-06-10 10:06:41 -04:00
Peter Johanson
3f4839ec96
refactor: Move to new zmk.dev domain name.
2021-06-10 09:27:57 -04:00
Peter Johanson
ba45aaa81b
chore(docs): Bump prettier, and reformat w/ it.
...
* Bump to prettier 2.3.1.
* Re-run prettier:format to apply updated format.
2021-06-09 10:58:53 -04:00
dependabot[bot]
22800455e2
chore(deps): bump react-toastify from 6.0.9 to 7.0.4 in /docs
...
Bumps [react-toastify](https://github.com/fkhadra/react-toastify ) from 6.0.9 to 7.0.4.
- [Release notes](https://github.com/fkhadra/react-toastify/releases )
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.9...v7.0.4 )
---
updated-dependencies:
- dependency-name: react-toastify
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-09 10:44:31 -04:00
dependabot[bot]
c83dea3742
chore(deps): bump react and react-dom in /docs
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ). These dependencies needed to be updated together.
Updates `react` from 16.14.0 to 17.0.2
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react )
Updates `react-dom` from 16.14.0 to 17.0.2
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react-dom )
---
updated-dependencies:
- dependency-name: react
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: react-dom
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-09 10:30:46 -04:00
Peter Johanson
7323f78a37
fix(docs): Upgrade docusaurus, webpack/loaders.
...
Upgrade to the new Docusaurus 2 beta release, which also required
upgrades to newer Webpack@5, and some API fixes for TOC changes.
2021-06-09 10:12:06 -04:00
Alexander Krikun
e8b42221cf
fix(shields): added right alt and layer quick tap to Jian
2021-06-08 21:09:22 -04:00
Martin Eberhardt
87ee2304a1
feat(docs): Add icon legend to the feature matrix
...
Add icon legend to the feature matrix
2021-06-08 21:06:20 -04:00
dependabot[bot]
33f611cc5c
chore(deps): bump react-copy-to-clipboard from 5.0.2 to 5.0.3 in /docs
...
Bumps [react-copy-to-clipboard](https://github.com/nkbt/react-copy-to-clipboard ) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/nkbt/react-copy-to-clipboard/releases )
- [Commits](https://github.com/nkbt/react-copy-to-clipboard/compare/v5.0.2...v5.0.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-08 21:01:07 -04:00
Jay Greco
f3bb90f9e1
fix(kscan): Fix nibble demux scan errors on encoder row
...
+ Add a 1us sleep to let the column selection settle in order to avoid spurious keypresses when row capacitance is high (like on the encoder row)
2021-06-08 20:59:35 -04:00
Dom H
faa90be1ba
docs(codes): Use LSHIFT/RSHIFT in keymap upgrader
2021-06-08 20:57:40 -04:00
Dom H
06a85f944f
docs(codes): Refer to LSHIFT instead of LSHFT
...
`LSHIFT` is slightly more intuitive and should result in fewer user
errors.
2021-06-08 20:57:40 -04:00
Dom H
52ee082692
docs(codes): Add LSHIFT and RSHIFT aliases
2021-06-08 20:57:40 -04:00
Dom H
4c1a71551b
feat(keys): Add LSHIFT and RSHIFT aliases
...
Using LSHIFT or RSHIFT instead of LSHFT or RSHFT was a common error.
2021-06-08 20:57:40 -04:00
Ivan Smirnov
bb32005474
fix(docs): Update macos GCC embedded section with brew cmd
...
* Update macos GCC embedded section with brew cmd
Brew has a cask for GCC embedded, so we can make this guide more user friendly by providing it.
2021-06-08 20:56:10 -04:00
Jonathan Rascher
4e69a32103
fix(combos): Check each combo key, not just last
...
The current combo completion check only makes sure the last key in the
combo is set. This works when the combo is typed correctly initially, or
when reraising events in a combo of length two. However, it fails for
longer combos since the last event in pressed_keys might be set, but the
first (or subsequent) event in pressed_keys can be NULL thanks to
release_pressed_keys.
Also added a regression test.
2021-06-08 20:35:58 -04:00
Jonathan Rascher
eecc12c980
test(combo): Add unit test for complete long combo
2021-06-08 20:35:58 -04:00
Jonathan Rascher
bba1599824
refactor(combos): Rename existing long combo test
...
This test doesn't test a long combo that completes, but rather one
that's incomplete (so the combo doesn't trigger). Renaming to avoid
confusion when we add more long combo tests.
2021-06-08 20:35:58 -04:00
Joel Spadin
0a9efbf85d
fix(ble): Ignore out of range profiles
...
Don't allow selecting a BLE profile that is out of range to avoid
reading/writing past the end of the profiles array.
2021-06-08 20:33:43 -04:00
Nick Winans
efcc49f23d
fix(boards): Set nice!60 nRF subfamily for openocd ( #816 )
2021-06-04 00:33:44 -04:00
Anthony Amanse
719b6aa0ae
fix(boards): Add delay on initializing external power for BlueMicro840
...
This commits adds a delay of 20ms on initializing the external
power control driver. Previously, OLED's i2c driver is failing to
initialize the display. This commit fixes that issue.
Signed-off-by: Anthony Amanse <ghieamanse@gmail.com >
2021-05-31 00:44:30 -04:00
Anthony Amanse
cdbfb35662
fix(boards): Fix Blue LED pin definition in BlueMicro840
...
This commit fixes the pin definition for BlueMicro840. Based on the
schematics, the blue led is at pin 1.10.
Signed-off-by: Anthony Amanse <ghieamanse@gmail.com >
2021-05-31 00:20:46 -04:00
Nick Winans
3f838f0aaf
feat(boards): Add nice!60 board
2021-05-30 11:47:20 -04:00
Okke Formsma
a32cd668d6
fix(tests): Use debug builds and high resolution timer
...
By setting CONFIG_DEBUG, the native_posix builds will not be optimized
which makes debugging them much nicer.
By setting CONFIG_SYS_CLOCK_TICKS_PER_SEC to 1000, debug prints have a
higher resolution and not always show up as multiples of 10ms.
2021-05-27 08:20:45 -04:00
Christian Stücklberger
8196b1d46b
fix(docs): Add missing semicolon to examples
...
Co-authored-by: Christian Stücklberger <christian.stuecklberger@ergon.ch >
2021-05-19 11:10:29 -04:00
dependabot[bot]
5b86fdd876
chore(deps-dev): bump eslint-plugin-mdx from 1.8.2 to 1.13.0 in /docs
...
Bumps [eslint-plugin-mdx](https://github.com/mdx-js/eslint-mdx ) from 1.8.2 to 1.13.0.
- [Release notes](https://github.com/mdx-js/eslint-mdx/releases )
- [Changelog](https://github.com/mdx-js/eslint-mdx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mdx-js/eslint-mdx/compare/v1.8.2...v1.13.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-17 09:29:46 -04:00
dependabot[bot]
c735bb8de6
chore(deps): bump react-dom from 16.13.1 to 16.14.0 in /docs
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react-dom )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-17 00:46:57 -04:00
dependabot[bot]
f26da9cd4b
chore(deps): bump @fortawesome/free-solid-svg-icons in /docs
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 5.15.1 to 5.15.3.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.15.1...5.15.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-17 00:44:59 -04:00
dependabot[bot]
b09b1f3c8c
chore(deps): bump @fortawesome/react-fontawesome in /docs
...
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome ) from 0.1.12 to 0.1.14.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases )
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/react-fontawesome/commits/0.1.14 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-17 00:19:26 -04:00
dependabot[bot]
8a39683965
chore(deps-dev): bump eslint-plugin-react from 7.21.5 to 7.23.2 in /docs
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.21.5 to 7.23.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.5...v7.23.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-17 00:18:17 -04:00
dependabot[bot]
fe36073a10
chore(deps): bump DoozyX/clang-format-lint-action from 0.11 to 0.12
...
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action ) from 0.11 to 0.12.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases )
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.11...v0.12 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-15 00:18:52 -04:00
Okke Formsma
de4979bf58
fix(behaviors): Fix sticky keys quick-release for normal keypresses
...
Quick release for sticky keys failed for non-layer keys. The sticky key
was released just before the key that was supposed to be modified was
handled.
The issue was caused by an error in the sticky key logic, which released
the sticky key before handling the key up event.
Fixes #696 .
2021-05-09 07:52:41 -04:00
dependabot[bot]
a006970825
chore(deps): bump react from 16.13.1 to 16.14.0 in /docs
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-05 01:20:27 -04:00
Peter Johanson
977746dbde
feat(tests): Override test parallelism w/ J=8 environment.
2021-05-05 00:56:05 -04:00
Peter Johanson
e19cf7912d
fix(docs): Updated eslint config for unified prettier setup.
2021-05-05 00:54:55 -04:00
dependabot[bot]
ea57f62048
chore(deps-dev): bump eslint-config-prettier in /docs
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.14.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v8.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-05 00:54:55 -04:00
dependabot[bot]
fa2e51b528
chore(deps-dev): bump eslint from 7.12.0 to 7.25.0 in /docs ( #773 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.12.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.12.0...v7.25.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 00:24:37 -04:00
Piotr Gnus
8e235a2d65
fix(docs): Readjusted colors for dark theme for OSes in docs
...
Previously the colors of operating systems were the same both for dark
and light color scheme. That's not a major issue, but adjusting the
colors for the dark theme to better match the theme looks like an
improvement.
Colors were just darkened by reversing the lightness of each color taken
from the dark theme.
2021-05-05 00:21:27 -04:00
Piotr Gnus
96bd927be2
feat(docs): Added support for prefers-color-scheme in docs
...
Now, instead of always defaulting to light theme, documentation, docs
will default to the color scheme based by the user preference (reported
by web browser as a `prefers-color-scheme` media query).
It is still possible for user to change the theme by using the switch
next to the search box. His preference will be remembered.
2021-05-05 00:15:38 -04:00
Michael van Eerd
fadb508671
fix(docs) omit layers -1 example, clarify it defaults when omitted ( #757 )
...
* fix(docs) omit layers -1 example, clarify
* comment, simplify description
* remove 'the'
2021-04-15 03:31:07 -05:00
measlesbagel
3893d50e13
Docs: added mod morph page ( #749 )
...
* docs(behaviors): add mod-morph doc page
* docs(behaviors): add mod-morph doc page
* docs(mod-morph): add note about sent modifiers
* docs(mod-morph): fixed prettier formatting
2021-04-05 18:04:38 -05:00
Lucas Messenger
d8119cd663
fix(boards): Proper BlueMicro840_V1 &pro_micro_a map for A10 ( #733 )
2021-03-24 13:21:40 -04:00
Pete Johanson
28d454655b
fix(boards): Move board endif to proper location.
...
* Nibble and tidbit conditional was closed early, enabling
some settings incorrectly for other unrelated builds.
2021-03-18 21:26:41 -04:00
Pete Johanson
27c89e69c1
fix(kscan): Proper direct wire warning message.
2021-03-15 00:39:29 -04:00
Nick Winans
4ef11ac4aa
feat(docs): Add power profiler
2021-03-11 16:31:34 -05:00
Okke Formsma
0df7110058
fix(combos): Fix stuck keys when pressing long combos.
...
To properly retrigger hold-taps when a combo is not activated, some
position down events are reraised instead of released. The corresponding
position up events were never reraised, causing a potential stuck key.
2021-03-11 16:23:45 -05:00
Okke Formsma
8ebe0cd0c8
refactor(core): make the event manager a bit easier to read
2021-03-10 20:12:23 -05:00
Okke Formsma
c01243d1c6
fix(logging): remove unnecessary newline
2021-03-10 18:08:22 -05:00
JP Bonn
c643f1cd96
added battery.h, last_state_of_charge to uint8_t
2021-03-10 18:07:18 -05:00
JP Bonn
b8a8ecd59d
fixed order of setting state_of_charge
2021-03-10 18:07:18 -05:00
JP Bonn
df4ec51f96
only send zmk_battery_state_changed on change
2021-03-10 18:07:18 -05:00
Cody McGinnis
d956193251
change "Under Development" to "Beta Testing"
2021-03-10 13:45:50 -05:00
Cody McGinnis
ac50e741be
move the information to its own page
2021-03-10 13:45:50 -05:00
Cody McGinnis
daf10d9741
feat(docs): add information for testing PRs
2021-03-10 13:45:50 -05:00
Megamannen
a7c6e080a7
Fix broken link in documentation (encoders) ( #707 )
...
* Update encoders.md
Link to "New Keyboard Shield" didn't work
* Update encoders.md
Forgot hash-link
2021-03-03 00:06:29 -06:00
Megamannen
0a7491af87
Add detailed pin mapping explanation to underglow docs ( #709 )
...
* Update underglow.md
Updated the documentation according to my current understandring of how to pin-mapping works, also split the chapter into a nrf-section and a non-nrf-section since that information isn't applicable to both
* Ran prettier and updated pin reference according to suggestion
2021-03-03 00:03:12 -06:00
Pete Johanson
0f9fff7554
Fix the label for the GPIO kscan driver.
2021-02-27 14:32:42 -05:00
Okke Formsma
32008825fe
fix(behaviors): Add missing hold-tap trigger
...
A hold-tap trigger was missing in the scenario where a hold-tap behavior
was queued for a while and it's timer should've run out.
2021-02-27 09:20:20 -05:00
Okke Formsma
0c1940bb79
feature(hold-tap): no-hold-flash for retro taps
...
This is an improvement on retro-tap, solving the 'flashing hold' issue
users people experience.
When the tapping-term expires, the hold key is normally pressed. When
retro-tap is enabled, this is undesirable; only an interrupted hold-tap
should trigger the hold behavior.
This change disables the hold behavior for the 'STATUS_HOLD_TIMER'
state when retro-tap is enabled, and makes sure the
'STATUS_HOLD_INTERRUPT' state will be triggered when appropriate.
2021-02-24 07:24:27 -05:00
Okke Formsma
89ed816c67
feature(hold-tap): Retro tapping
2021-02-24 07:24:27 -05:00
Okke Formsma
62ae157c0b
refactor(hold-tap): improve switch statements
2021-02-24 07:24:27 -05:00
Okke Formsma
9c4c266b17
refactor(hold-tap): pretty print decision_moment
2021-02-24 07:24:27 -05:00
Okke Formsma
0ebf440de8
refactor(hold-tap): create press_binding and release_binding functions
2021-02-24 07:24:27 -05:00
Okke Formsma
abc60fc7cb
refactor(hold-tap): split hold state into interrupt and timer
2021-02-24 07:24:27 -05:00
Okke Formsma
200c6cabea
refactor(hold-tap): use enum for hold-tap status
2021-02-24 07:24:27 -05:00
Okke Formsma
6b7026cdd1
refactor(hold-tap): simplify flavor enum
2021-02-24 07:24:27 -05:00
Nick Winans
57661362ea
refactor(ext-power): Add init-delay-ms option
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com >
2021-02-16 14:51:32 -05:00
Nick Winans
b43fb8502e
fix(ext-power): Initialize as soon as settings are available
2021-02-16 14:51:32 -05:00
Pete Johanson
ff7891c097
fix(display): Check for display in idle handler.
...
* Closes #679
2021-02-16 14:21:46 -05:00
Okke Formsma
daf3a4af75
fix(pre-commit): use prettier mirror and pin version
2021-02-15 07:43:43 -05:00
Okke Formsma
af9d6e9b05
style(hold-tap)!: Write hold-tap params with dashes
...
tapping_term_ms -> tapping-term-ms
quick_tap_ms -> quick-tap-ms
The old style works, although it's deprecated.
2021-02-10 07:55:12 -05:00
Pete Johanson
2af794eed3
feat(underglow): Convert HSB changes to absolute.
...
* Public type for HSB led color.
* New API for calculating "next" HSB based on current
state.
* Update behavior to convert the increment/decrement
commands to absolute command as well.
2021-02-09 01:27:50 -05:00
Pete Johanson
e6f168d6df
refactor(behaviors): Convert state dependent params.
...
* Allow each behavior to map a relative binding, e.g. "toggle",
to an absolute one, e.g. "on", before being invoked.
2021-02-09 01:27:50 -05:00
Pete Johanson
bb2c478af9
refactor(rgb): Expose explicit on/off command/API.
2021-02-09 01:27:50 -05:00
Joel Spadin
24ed1a8eaa
docs(vscode): add more info for compile_commands.json path
2021-02-09 00:45:55 -05:00
Joel Spadin
0955ffef65
docs: Add docs for setting up vscode
...
Added a docs page with tips for setting up VS Code's code completion to work
in ZMK's source files. Info for other IDEs can be added here later as needed.
2021-02-09 00:45:55 -05:00
Nick Winans
fc5d7bcb78
fix(boards): Remove explicit enable of sensor
2021-02-08 10:50:44 -05:00
Nick Winans
5eace0bbc4
fix(core): Enable sensor by default
2021-02-08 10:50:44 -05:00
Pierre Constantineau
b67156b3f4
feat(docs): Update to BlueMicro_BLE Features
2021-02-08 10:48:12 -05:00
KemoNine
0499e7e8ac
Refactor nibble / update to match build docs ( #620 )
...
* feat(nibble): add underglow support for nice_nano builds
* feat(nibble): add encoder to top, left most column to match standard assembly documentation
* refactor(nibble): add layer labels
* feat(nibble): add support for optional display ; off by default
* feat(nibble): add README
* fix(nibble): adjust oled rotation for easier reading
* fix(nibble): add additional note about enabling oled
* refactor(nibble): convert keymap to use tabs instead of spaces
* refactor(nibble): enable oled in dts/overlay by default
* refactor(nibble): cleanup alignment and formatting in nibble keymap
* refactor(nibble): re-align top most row of keymap to be sensible
* refactor(nibble): cleanup kscan map alignment
* refactor(nibble): indent first row of map/transform to properly align with physical columns
* fix(nibble): remove dangling code block from readme
Co-authored-by: KemoNine <mcrosson@kemonine.info >
2021-02-04 10:28:02 -06:00
jrhrsmit
e40ca1eb7c
fix(power): Add support for capacitors on ADC for BVD
...
Add a little delay so any capacitors connected to the ADC for the BVD can charge up when using power_gpios
Co-authored-by: Jasper Smit <jrhrsmit@gmail.com >
2021-02-04 07:56:27 -05:00
Pete Johanson
ae5056d680
Update docs/docs/behaviors/bluetooth.md
...
Co-authored-by: innovaker <66737976+innovaker@users.noreply.github.com >
2021-02-04 07:45:55 -05:00
Jonathan Rascher
1368a6481e
docs: Explain ZMK stays connected to inactive host
...
This behavior was not obvious to me, and I actually considered reporting
it as a bug until @Nicell explained to me on Discord that it's WAI. :)
2021-02-04 07:45:55 -05:00
Okke Formsma
11d990e59a
setup pre-commit hooks for clang-format and prettier
2021-02-04 07:42:02 -05:00
Pete Johanson
b84d29c384
refactor(core): Use /omit-if-no-ref/ for behaviors.
...
* Use lesser-known DT features to skip behaviors not referenced
in the user keymap
* Update the behaviors to skip code if no nodes found.
* Remove some empty config/data structs where unused in
behaviors.
2021-02-04 00:52:25 -05:00
mantas
b4d63fb52c
feat(shields) Add encoder support to CRBN
...
Pin A maps to A2 (F5), pin B to A3 (F4).
Added keymappings to encoder on default and lower layers.
2021-02-03 23:49:59 -05:00
mantas
c94943da1c
style(crbn): Unify indentation from spaces to tabs
2021-02-03 23:49:59 -05:00
KemoNine
cd503ed17b
Feat combo layers ( #661 )
...
feat(combos): add layer filtering
Co-authored-by: KemoNine <mcrosson@kemonine.info >
2021-02-03 23:33:09 -05:00
y4m4ym
9205ea1c70
fix(setup): Fix index to MakerDiary m.2 board
2021-02-03 23:10:47 -05:00
Okke Formsma
9a7908b632
behaviors(hold-tap): Implement quick_tap_ms (TAPPING_FORCE_HOLD)
...
Tap-and-hold a hold-tap to hold the tap behavior so it can repeat.
After a tap, if the same key is pressed within `quick_tap_ms`, the
tap behavior is always picked.
This is useful for things like `&ht LSHFT BACKSPACE` where holding
the backspace is required.
Implements #288 .
2021-02-02 15:28:16 -05:00
Pete Johanson
6c7ab0ce53
refactor(kscan): Fix polling of GPIO matrices.
...
* Add easier macros for conditional polling/interrupt code.
* Properly continue polling on intervals, without extra
enable/disable code for pins that is superfluous when not trying to
deal with interupts firing.
* Fix to allow multiple GPIO drivers when doing splits w/ IO expanders
2021-02-02 14:04:10 -05:00
Pete Johanson
2f352788c1
refactor(kscan): Remove explicit default n from kscan configs.
...
* Actually allow defaulting yes in other places.
2021-02-02 14:04:10 -05:00
Aaron Nunley
bcc3d9b5a6
Update build/flash documentation.
...
Updated docs for the build and flash to have similar content to the new board page.
Added a bit about DFU in case someone were searching for that term.
2021-02-02 01:02:54 -05:00
Aaron Nunley
592b98cd12
npm run prettier:format
2021-02-02 01:02:54 -05:00
Aaron Nunley
100d06ae8b
Update docs for testing a new shield.
...
Clarifying the need for `west flash` in a dockerized environment and providing a high-level overview of testing a board with UF2 support.
2021-02-02 01:02:54 -05:00
Nick Winans
33cd2caced
fix(boards): Shorten keyboard names that are too long
2021-02-02 00:59:17 -05:00
Nick Winans
82173f354e
fix(core): Assert BLE device name is correct length
2021-02-02 00:59:17 -05:00
Okke Formsma
4e20bf5de1
refactor(behaviors): simplify hold-taps by not using _TRANSFORM_ENTRY
2021-02-02 00:43:26 -05:00
Okke Formsma
84d19fe79b
refactor(behaviors): factor out multiple uses of _TRANSFORM_ENTRY
2021-02-02 00:43:26 -05:00
Nick Winans
f39121f82e
fix(docs): Remove comment about here being four profiles for splits
2021-01-30 00:36:18 -05:00
Jeff Rizzo
4f040fecdf
Add a missing log_strdup()
2021-01-30 00:31:07 -05:00
innovaker
40694a0969
docs: remove redundant slash from "docs/" navigation item
...
Aligns with the blog item.
PR: #608
2021-01-30 00:02:11 -05:00
Nick Winans
ddc5cbdca2
fix(docs): Set description to our tagline
2021-01-29 23:58:42 -05:00
Nick Winans
cba85d400d
fix(docs): Only show push workflow builds in link
2021-01-29 22:09:22 -05:00
KemoNine
1adb2d5f84
feat(docs): add information on how to update the documentation to the docs
2021-01-29 20:44:39 -06:00