Commit graph

1587 commits

Author SHA1 Message Date
jding
99724cbdf8 fix missing last lines 2021-10-31 22:15:37 +00:00
jding
411f91dd2f remove unnecesary if statement, add new line at bottom 2021-10-31 00:22:01 +00:00
jding
f3da13f1b4 revert refactor, simplify tests 2021-10-30 23:55:33 +00:00
jding
4729e92c50 Merge branch 'upstream_main' into conditional_mod_tap 2021-10-30 20:06:13 +00:00
jding
caad69a37d build failures because enum starts at 1? 2021-10-30 15:46:54 +00:00
jding
26a6fbfefb rename other_key_down_position in decide_tap_positionally_preferred) 2021-10-30 15:41:41 +00:00
jding
bd8b98a7af Merge branch 'conditional_mod_tap' of https://github.com/jmding8/zmk into conditional_mod_tap 2021-10-30 15:32:32 +00:00
jding
db71a8e692 add compile-time hold_trigger_key_positions vs tap-positionally-preferred check 2021-10-30 15:29:41 +00:00
jmding8
01518d4953 add flavor enum 2021-10-30 04:19:39 +00:00
jding
63776e36b5 remove unnecessary if statement 2021-10-30 00:25:08 +00:00
jding
14f2b6e6ff clang 2021-10-30 00:01:59 +00:00
jding
45721afcf9 re-order function definitions 2021-10-29 23:58:16 +00:00
jding
a26e001bfd tests 2021-10-29 23:49:28 +00:00
jding
4c94647eb9 prettier docs/behaviors/hold-tap.md 2021-10-29 23:48:46 +00:00
jding
66531d97ec refactor, tap-positionally-preferred 2021-10-29 21:50:27 +00:00
jding
82504a6265 fix docs 2021-10-29 20:40:38 +00:00
jmding8
dbb31cbbe7 comments, no logic change 2021-10-29 15:53:30 +00:00
jmding8
3099736e63 fix typoed etcetera 2021-10-29 15:48:55 +00:00
jmding8
7be888a8b4 fix tests 2021-10-29 04:12:00 +00:00
jmding8
1865ffa0c7 fix struct name 2021-10-29 04:06:12 +00:00
jmding8
a33e9e5966 flexible array 2021-10-29 04:02:47 +00:00
jmding8
f35d4a44fe docs comments 2021-10-29 02:31:32 +00:00
jmding8
f5426939ef fix minor typo in comment 2021-10-29 02:21:51 +00:00
jmding8
7f636baf73 rename to hold_trigger_key_positions 2021-10-29 02:21:11 +00: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