Commit graph

508 commits

Author SHA1 Message Date
Joel Spadin
111e88a333 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-11-19 08:41:21 -08:00
dependabot[bot]
df930e2ad4 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-11-19 08:41:21 -08:00
Manuel Transfeld
f862a594bf fix(docs): Typo fix, open -> upon 2021-11-19 08:41:21 -08:00
Peter Johanson
db1035009c 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-11-19 08:41:21 -08:00
Peter Johanson
1155f94a49 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-11-19 08:41:21 -08:00
Jonathan Rascher
a2d809ae76 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-11-19 08:41:21 -08:00
Nick Winans
f25a593c84 feat(docs): Update documentation to match new Pro Micro nodes 2021-11-19 08:41:21 -08:00
Nick Winans
f0956b798e fix(docs): Update split naming system 2021-11-19 08:41:21 -08:00
Cem Aksoylar
6ab5e47cab fix(setup): Fix sed delimiters for Cradio 2021-11-19 08:41:21 -08:00
Richard Titmuss
daa1cde4d7 fix(docs): Typo EC11_CONFIG
This should be CONFIG_EC11
2021-11-19 08:41:21 -08:00
Dom H
930dda925e fix(docs): Remove build.yml from new shield steps 2021-11-19 08:41:20 -08:00
Dom H
d8b125b9ca fix(docs): Set "Mouse Keys" as "Under Development" 2021-11-19 08:41:20 -08:00
Michael van Eerd
c0d16dc517 fix(docs) add BT_PRV as suggested
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
2021-11-19 08:41:20 -08:00
Michael van Eerd
762b6b17ac fix(docs) Bluetooth behavior typo 2021-11-19 08:41:20 -08:00
Michael van Eerd
3e8ac54cdd fix(docs) Move Number of Profiles note down 2021-11-19 08:41:20 -08:00
Michael van Eerd
b9d7477cd2 feat(docs) Clarify Bluetooth profile pairing 2021-11-19 08:41:20 -08:00
Richard Titmuss
824cf2545d 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-11-19 08:41:20 -08:00
nevin
e4eaa89eff fix: Use correct Quotation marks on line 65 (#942) 2021-11-19 08:41:20 -08:00
Cem Aksoylar
7dc51f14c5 feat(docs): Add note to clarify shared .conf files do not apply outside zmk-config 2021-11-19 08:41:20 -08:00
Peter Johanson
c76d5b34ff 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-11-19 08:41:20 -08:00
Peter Johanson
8dc7e1b944 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-11-19 08:41:20 -08:00
Peter Johanson
1d45069dee fix(docs): Deploy when boards/shields change. 2021-11-19 08:41:20 -08:00
Peter Johanson
8244b76c94 docs: Add docs on hardware metadata files. 2021-11-19 08:41:20 -08:00
Peter Johanson
973cd3a6e1 feat: Generate setup scripts from metadata. 2021-11-19 08:41:20 -08:00
Peter Johanson
f414d64242 feat(docs): Type check the docs TSX components. 2021-11-19 08:41:20 -08:00
Peter Johanson
52f35ae20e feat(docs): Add dynamic hardware list component. 2021-11-19 08:41:20 -08:00
Peter Johanson
dee6c04b20 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-11-19 08:41:20 -08:00
Cem Aksoylar
9e171e26b3 fix: Add semicolons for tidbit and eek in setup script 2021-11-19 08:41:20 -08:00
chad3814
0f0403a73d fix typo
"load your newly flashed firmware" not "load your newfly flashed fireware"
2021-11-19 08:41:20 -08:00
Nick Winans
09c049b531 fix(docs): Standardize all internal links 2021-11-19 08:41:20 -08:00
chad3814
91fbae02ad fix(docs): Fix "All" typo 2021-11-19 08:41:20 -08:00
Joel Spadin
eccabed3ce fix(docs): Appease Prettier
Fixed code formatting in docs files.
2021-11-19 08:41:20 -08:00
Peter Johanson
13151de885 Add warning about peripheral encoders. 2021-11-19 08:41:20 -08:00
dependabot[bot]
790b3ccce6 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-11-19 08:41:20 -08:00
Felix Sargent
44a8206860 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-11-19 08:41:19 -08:00
Joel Spadin
788bdf7d73 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-11-19 08:41:19 -08:00
Joel Spadin
4faaa19a16 docs: Switch back to package version 2
package-lock.json was rewritten to version 1 in
13dbbefcb4.
2021-11-19 08:41:19 -08:00
Peter Johanson
da295d04e6 fix: Add missing semicolon for nano V2 case. 2021-11-19 08:41:19 -08:00
innovaker
4083c48768 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-11-19 08:41:19 -08:00
Peter Johanson
23e2f3d4f1 chore(deps): bump @docusaurus/* to 2.0.0-beta.3 2021-11-19 08:41:19 -08:00
Peter Johanson
4ad8dd3499 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-11-19 08:41:19 -08:00
innovaker
3ece4e97c5 docs: bump Zephyr documentation links to Zephyr v2.5.0
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
innovaker
de028afbef 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-11-19 08:41:19 -08:00
innovaker
057f6ee480 docs(setup): bump ZSDK_VERSION to 0.12.4
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-11-19 08:41:19 -08:00
Nick Winans
ed45728af5 feat(docs): Add nice!nano v2 to scripts, actions, and documentation
asdf

asdf


asdf
2021-11-19 08:41:19 -08:00
dependabot[bot]
461c5000cc 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-11-19 08:41:19 -08:00
dependabot[bot]
254d2070c9 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-11-19 08:41:19 -08:00
dependabot[bot]
6d4e9e58bb 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-11-19 08:41:19 -08:00
innovaker
e40d890227 docs(setup): fix whitespace in Fedora toolchain install command
Aligns Fedora whitespace with Debian.
2021-11-19 08:41:19 -08:00
innovaker
b054a7e36b docs(setup): remove extra slash from Fedora toolchain install command 2021-11-19 08:41:19 -08:00