FearlessSpiff
548e8d1718
use RGB_TOG as toggling external power comes default
2024-04-17 11:44:02 +02:00
FearlessSpiff
1dcef5f034
"fixed" encoder rotation direction
2024-04-17 11:43:14 +02:00
FearlessSpiff
c71eea7326
Merge branch 'zmkfirmware:main' into reviung5-underglow
2024-04-17 11:02:43 +02:00
Peter Johanson
fff1cbecdc
fix: Add wakeup-source; to kscan nodes for ZMK_SLEEP.
...
* ZMK_SLEEP also enables PM_DEVICE, so be sure to mark kscan
nodes as wakeup sources so they can wake keyboards from sleep.
2024-03-29 12:31:43 -07:00
Peter Johanson
29c0cdb3ab
fix(shields): Fix for direct use with ZMK Uno split.
2024-03-27 20:59:26 -07:00
Peter Johanson
7e7110d85f
fix(pm): Fixes for dedicated on/off on peripherals.
...
* Add new flag to differentiate soft off on peripherals that
is invoked by split GATT svc and dedicated additional ones
tied to GPIO pin.
2024-03-27 20:59:26 -07:00
Peter Johanson
d0e0ecb4e3
refactor: Use kscan directly to wake when we can.
...
* When adding a dedicated GPIO pin for soft off/on, use the direct
kscan as the waker, instead of adding an additional node.
2024-03-27 20:59:26 -07:00
Peter Johanson
5d960a758f
fix: Cleanups of sideband and direct kscan from review.
...
* Add dedicated init priority for the sideband kscan.
* Refactor sideband code for clarity.
* Tweaks to direct kscan for clarity.
* Make sideband behavior row optional for brevity.
* Allow overriding ZMK Uno sideband behaviors.
2024-03-27 20:59:26 -07:00
Peter Johanson
c3144055e8
refactor(boards): Move ZMK Uno 1P3T slider to sideband
...
* Invoke output selection from the slider on the ZMK Uno via
sideband behavior setup, to simplify keymap.
2024-03-27 20:59:26 -07:00
Peter Johanson
a0ad1d4c94
refactor: Add kscan sideband behavior driver
...
* Instead of gpio key behavior trigger, add new kscan driver that
decorates/wraps a given kscan driver and will invoke basic system
behavior assigned to a given row + column, without the need for keymap
mapping in the matrix transform, bypassing keymaps entirely.
2024-03-27 20:59:26 -07:00
Peter Johanson
fceb0351a5
refactor: Fixes for soft-off based on review.
...
* Better naming for gpio-key behavior triggers.
* Tweaks to scanned behavior trigger to avoid bad semaphore use,
and reduce chance of issues with slowly scanned matrixes.
* Various code cleanups of style issues.
2024-03-27 20:59:26 -07:00
Peter Johanson
e78249ee06
fix(bt): Fix BT tests after soft off work.
...
* Move to explicit enable of `ZMK_PM_SOFT_OFF` to turn
on the feature and use the behaviors, which matches
how other features work, and helps with split and
testing schemes.
2024-03-27 20:59:26 -07:00
Peter Johanson
d3fffb9e89
feat(shields): Add soft-off to the nrf52840dk ZMK Uno
...
* Use Button 1 for soft off on the nrf52840 when using the ZMK Uno
shield.
2024-03-27 20:59:26 -07:00
Pablo
8929355ac0
fix(keymap): Replace some keypad keycodes
...
* Change KP_MULTIPLY to ASTRK in defaults keymap
2024-03-18 13:19:27 -04:00
honorless
6f2e19ff88
refactor: replace quick_tap_ms with quick-tap-ms
...
* The underscore form of this property is deprecated.
2024-03-18 10:15:50 -07:00
honorless
3a38979684
refactor: replace tapping_term_ms with tapping-term-ms
...
* The underscore form of this property is deprecated.
2024-03-18 10:15:50 -07:00
Joel Spadin
1dfcfc7d3f
feat(shields): Make settings_reset shield reset all settings
...
Added a new CONFIG_ZMK_SETTINGS_RESET_ON_START option which enables init
code to call zmk_settings_erase(), and changed the settings_reset shield
to use it instead of CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START, so it now
resets all settings instead of just clearing BLE bonds.
CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START is left in place for now in case
someone still needs it. It may be replaced in the future once we find a
better way to repair a broken split connection.
2024-03-18 09:48:19 -07:00
FearlessSpiff
9f622a1b72
add underglow for reviung5
2024-03-07 20:39:25 +00:00
Seth Milliken
b44ec381f6
feat(boards): add encoder support to planck
2024-02-19 17:01:10 -08:00
ton-im
c082f8d802
fix(boards): Add ext power init delay for nrfMicro
...
* Address issues with OLED init occurring before display is powered.
2024-02-19 19:32:12 -05:00
zhiayang
a9ae6796a0
fix(display): Proper initial display of battery status
...
* fix initial display of battery status on displays, and also fix a null deref
2024-02-19 19:15:19 -05:00
Peter Johanson
fda6a5f185
fix(boards): Tweaks for Ferris rev0.2 for Zephyr.
...
* Enable missing clock and set up USB pinctrl.
2024-02-17 21:57:21 -08:00
honorless
40adb3858d
refactor(boards): remove superfluous conf settings
2024-02-10 16:15:09 -08:00
honorless
cdcf4ebfb6
feat(boards): allow use of blackpill_f401cc
2024-02-10 16:15:09 -08:00
Peter Johanson
1d83f279cd
fix(pm): Tweaks for deep sleep/PM.
...
* Restore enabling of PM_DEVICE, make ZMK_SLEEP work with
the ZMK Uno shield on nrf52840dk_nrf52840 board.
2024-02-09 14:32:46 -08:00
Peter Johanson
4bcecd98f8
fix(display): Tweaks to memory Kconfig settings.
...
* Don't default heap mempool by default now that there's a dedicated
LVGL mempool
* Set proper defaults for CiZ display hardware/custom screen.
* Double the dedicated display thread stack size for CiZ.
2024-02-09 14:32:46 -08:00
Peter Johanson
d9c0ded402
fix(shields): Fix use of deprecated Zephyr header.
2024-02-09 14:32:46 -08:00
Peter Johanson
324ada1d20
fix(boards): Remove unused pin settings.
...
* Remove unused pin settings that used deprecated
devicetree properties.
2024-02-09 14:32:46 -08:00
Peter Johanson
3968d9febd
feat(boards): Make west flash
work with new UF2 runner.
2024-02-09 14:32:46 -08:00
Peter Johanson
413820fc7f
fix(shields): LVGL fixes for nice!view screen
...
* Bump the LVGL mem pool size needed for custom screen.
* Fixes for LVGL drawing/label usage.
2024-02-09 14:32:46 -08:00
Peter Johanson
802881b625
fix(boards): Remove references to PINMUX Kconfig.
2024-02-09 14:32:46 -08:00
Peter Johanson
bf4008da02
refactor: All SYS_INIT functions are void args.
2024-02-09 14:32:46 -08:00
Peter Johanson
f4fce9e158
refactor(display): Move new LVGL DPI Kconfig setting.
2024-02-09 14:32:46 -08:00
Cem Aksoylar
b8846cf635
refactor(display): Remove unused BAS includes
2024-02-06 01:09:07 -08:00
Cem Aksoylar
efbcd3c8f6
fix(boards): Disable ZMK_USB for peripherals
2024-02-06 01:09:07 -08:00
Cem Aksoylar
4b03fcb709
fix(boards): Add missing battery header include
2024-02-06 01:09:07 -08:00
Joel Spadin
c2299e2203
fix(shields): Fix deprecated encoder properties
...
Switched remaining shields over from resolution to steps.
2024-02-03 18:45:21 -06:00
Joel Spadin
f24a0bf9c8
fix(shields): Add labels to all sensors nodes
2024-02-03 18:45:21 -06:00
senseored
b120daa16a
fix(boards): Assign preonic_rev3 chosen console
...
Quick fix to make USB-logging work on the Preonic.
2024-01-27 07:18:45 -08:00
honorless
6b547019c2
refactor: use zmk,matrix-transform instead of zmk,matrix_transform
...
* Align codebase with documentation.
2024-01-23 23:02:35 -06:00
Peter Johanson
f71458aca0
fix(shields): Fix battery warnings for custom widgets.
2024-01-16 16:39:28 -08:00
Peter Johanson
db9ab30335
fix(boards): Fix up EXT_POWER naming for adv360pro;
...
* Restore setting loading by preserving old device name for the
external power node.
2024-01-08 17:50:19 -08:00
Leonardo Bispo
cebf651d11
fix(boards): include the right flash info in XIAO BLE overlay
2024-01-05 19:00:32 -05:00
Justin Ridgewell
6f8d080b6a
fix: Use zmk_battery_state_of_charge
in battery widgets
2024-01-05 15:02:06 -05:00
honorless
7ef6ec7560
refactor: remove unused Kconfig files
2023-12-30 18:26:00 -08:00
Cem Aksoylar
ff57ccc75a
feat(shields): Allow settings_reset to build with board-only keyboards
2023-12-13 11:29:33 -08:00
Peter Johanson
b35a5e83c0
fix(shields): Don't enable passkey support on Uno.
...
* The ZMK Uno has no way to input the full range of digits, so skip
that setting so it's not pulled in by BLE experimental feature flag.
2023-12-08 14:57:23 -08:00
Peter Johanson
88338a9b3c
feat(shields): Add ZMK Uno split setup
...
* Make it easier to test split code with ZMK Uno
hardware by adding a split left/right setup as well.
2023-12-06 15:00:29 -08:00
Joel Spadin
17a6f0b128
refactor: Remove new uses of label property
...
Removed new uses of the "label" property which were introduced after
the previous commits on this branch were written.
2023-12-04 20:06:54 -06:00
Joel Spadin
23ecf08119
refactor(behaviors)!: Remove labels from behaviors
...
Removed the label property from built-in behaviors, custom behaviors
defined in a few keymaps, and macros generated with ZMK_MACRO().
Now that node names are used to identify behaviors, and names only need
to be unique within the set of behaviors, the names of all behaviors
have been shortened to be similar to their original labels.
This means that any keymaps which reference behavior nodes by name
instead of by label will need to be updated. Keymaps typically use the
labels though, so most keymaps should be unaffected by this change.
2023-12-04 20:06:54 -06:00