Caleb Goates
0d5bb100ba
feat(behavior): Add key toggle
2 years ago
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.
3 years ago
Cem Aksoylar
25f89ee6ab
feat(battery): Add Kconfig setting for battery level report interval
3 years ago
Nick Winans
d33b35513b
feat(usb): Set default HID interval to 1ms (1000Hz)
3 years ago
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.
3 years ago
Nick Winans
2c7e5b9232
refactor(ble): Use auto phy/conn for split
3 years ago
Luigi311
13014d3f28
Remove descriptions and defaults for already set variables
...
Signed-off-by: Luigi311 <luigi311.lg@gmail.com>
3 years ago
Luigi311
7443a917cb
Add ble connection interval support
...
Signed-off-by: Luigi311 <luigi311.lg@gmail.com>
3 years ago
Peter Johanson
486174fc41
fix(split): Raise split notification stack size.
...
* Larger stack for split peripheral notifications
to avois stack overflow with logging on.
3 years ago
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.
3 years ago
Peter Johanson
df2e993300
feat(ble): Disable `BT_GATT_AUTO_SEC_REQ`.
...
* Better compatibility w/ some operating systems, we already
set security level on connects.
3 years ago
Peter Johanson
c5ab8a9444
refactor: Move the DT based CDC ACM setup.
3 years ago
Peter Johanson
79ab60dfe5
refactor: Move to new PM API/Kconfig settings.
3 years ago
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
3 years ago
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.
3 years ago
Alessandro Bortolin
2c0fe3934d
feat(backlight): add tests
3 years ago
Alessandro Bortolin
ce843825e8
refactor(backlight): code cleanup
3 years ago
Alessandro Bortolin
85b2d30bd5
feat(lighting): add backlight behavior
3 years ago
Peter Johanson
ce3471d4fe
fix(split): Add queue for running remote behaviors
3 years ago
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.
3 years ago
git@jrhrsmit.nl
f221ff1dc7
add ranges and descriptions from #669
3 years ago
Simon Malinge
c5b8dd85fd
feat(underglow): Add support for configurable min/max brightness
...
Co-authored-by: jrhrsmit <jasper.770@gmail.com>
3 years ago
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.
3 years ago
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.
3 years ago
Nick Winans
2b9deb824b
feat(power): Update device power management Kconfig
3 years ago
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
3 years ago
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
3 years ago
Nick Winans
5eace0bbc4
fix(core): Enable sensor by default
4 years ago
Pete Johanson
2f352788c1
refactor(kscan): Remove explicit default n from kscan configs.
...
* Actually allow defaulting yes in other places.
4 years ago
Ally Parker
a4aaa73f06
feat: Add WPM calculator and display widget
4 years ago
Pete Johanson
65e476df3e
fix(splits): Send pos notify from dedicated thread
...
* Avoid deadlocks by using a deadicated workqueue for sending
position state notifications from peripherals.
4 years ago
Pete Johanson
a5c39dfa76
fix(ble): Perform GATT notifies from dedicated queue.
...
* Zephyr BT stack frees TX buffers from system workqueue,
and to avoid blocking waiting to allocate, perform notify
from a dedicated queue.
4 years ago
Pete Johanson
4aa78a6f8d
fix(split): Use queue/work for peripheral events.
...
* Avoid corruption by using work to process
peripheral key position events on the main
work thread, like local kscan events are.
* Fixes #221
4 years ago
Okke Formsma
feb0d5b90c
feat(combos): initial implementation
...
closes #45
4 years ago
Nick Winans
002a89765f
refactor(Kconfig): Set USB default based on hardware capabilities
...
Removes the USB default under every split right half in favor of a default based on hardware capabilities in the main app Kconfig.
4 years ago
Nick Winans
97ed0cc733
feat(core): Add USB logging Kconfig option
4 years ago
Nick Winans
43f6d798be
feat(ext-power): Cut power when PM is sleeping
4 years ago
Pete Johanson
4db5b169bf
refactor(splits): Ability to override split role.
...
* Move central/peripheral setting to Kconfig.defconfig
files to allow left/right .conf files to override
central/peripheral role for splits.
4 years ago
Pete Johanson
f7c16dfe69
refactor(power): Extract activity/idle detection.
...
* Refactor power to extract more general purpose
activity detection/events.
* Use activity state to implement PM callback.
4 years ago
innovaker
0d4476d148
refactor(app): remove `_gatt_` infixes from BT DIS and BAS services
...
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html
PR: #467
4 years ago
Nick
177b28f01d
refactor(settings): Add Kconfig option for settings debounce
4 years ago
Pete Johanson
b3f3362b50
feat(display): Initial widget/status screen work.
...
* Battery and output status widgets
* Built in status screen combining them.
* Ability to define a custom status screen factory
function.
4 years ago
Nick
a1d3230eef
feat(underglow): RGB toggle controls ext_power
...
fix(ug): Don't return if finding ext power fails
fix(ug): Move ext_power to a static variable
Add #if defs
4 years ago
innovaker
67a6646cd7
chore: add copyright to core Kconfig
4 years ago
Carey
3f4d47a06e
focus on refactor
4 years ago
Carey
c5172e4337
move initialization priorities to advanced menu
4 years ago
Carey
6aae667826
merge changes from master
4 years ago
Pete Johanson
36d3d01a22
feat(usb): Add proper USB product ID.
...
* Use openmoko product ID from:
https://github.com/openmoko/openmoko-usb-oui/pull/15
4 years ago
Kellen Carey
8b9b247592
allow ble to be enabled if split transport is ble
4 years ago
Kellen Carey
8e298ec701
happy with layout, need to improve interactions
4 years ago