Chris Andreae
47a87a92b1
Disable usb status change and callback on SOF events
...
SOF events were introduced by the boot protocol changes, and required internally
by Zephyr's idle support, but are unused within ZMK itself. Ignore them in the
usb status callback.
2022-11-25 20:13:32 +09:00
Andrew Childs
843d324525
Boot protocol support
...
Based on PR#1140 with several changes as described in this comment: https://github.com/zmkfirmware/zmk/pull/1140#issuecomment-1237655563
* Minimize the api changes for bluetooth by keeping
zmk_hid_get_keyboard_report() and returning the .body like before.
* Keeping the logic about "full" vs "body" entirely within the usb code path.
* The endpoint now calls either zmk_usb_hid_send_keyboard_report() and
zmk_usb_hid_send_consumer_report() instead of zmk_usb_hid_send_report(...).
- These functions now internally dispatch on protocol to either
zmk_hid_get_keyboard_report() or a new function for boot reports
zmk_hid_get_boot_report().
- There's a change here from the PR version in the behavior of get_report():
when in boot protocol, don't include the report id. I believe this is
correct, in that implicit boot protocol report descriptor does not use
multiple reports, so any boot protocol report should not include the report
id field.
* Use a single definition of a boot report, used for regular reports in
non-6KRO, and for rollover in all branches.
* Handle gaps in the zmk report when producing a boot report in HKRO mode. For
.example, if it was 8KRO, it would be possible to have the state 0 0 0 0 0 0 0
17 (by pressing 8 keys, and letting go of the first 7). Copying the first 6
bytes would not show up the single pressed key.
2022-11-25 20:13:24 +09:00
Donald Gordon
b77f92a221
battery: Add zmk_battery_state_of_peripheral_charge()
...
As a counterpart to zmk_battery_state_of_charge()
2022-11-25 20:12:48 +09:00
moergo-sc
f3a9efa8df
bt: add BT_CLR_ALL_CMD behaviour
2022-11-25 20:12:48 +09:00
Chris Andreae
d922e0530a
rgb_underglow: refresh more frequently for smoother RGB underglow
2022-11-25 20:12:48 +09:00
Chris Andreae
8cd7a370bd
ZMK_KSCAN_MATRIX_WAIT_BETWEEN_OUTPUTS: only wait between outputs
...
Not after the last output
2022-11-25 20:12:48 +09:00
Chris Andreae
ba90c62c5c
Merge PR#999 (LED indicators)
2022-11-25 20:12:37 +09:00
Chris Andreae
fa2eee585f
Merge PR#1243 (Split battery reporting over BLE GATT)
2022-11-25 20:12:28 +09: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
Alessandro Bortolin
5966b4e49f
docs: add LED indicators documentation
2022-10-30 13:10:05 +01:00
Alessandro Bortolin
3032e05488
feat: LED indicators displaying
2022-10-30 13:10:05 +01:00
Alessandro Bortolin
3635a4c601
feat: handle LED indicators report
2022-10-30 13:10:05 +01: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