Seth Milliken
51503629c7
feat(docs): add new recipes section
...
Recipes document distinct functionality provided by novel use of
existing config, features, and behaviors.
n.b. All pages are currently only placeholders. All names are tentative.
2023-10-04 21:51:54 -07: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