ReFil
badf3271a2
Clang format
2022-06-23 11:20:53 +01:00
ReFil
590c0c6e4f
Z3 fixes and tweaks
2022-06-23 11:19:12 +01:00
ReFil
a0b83d546f
Merge branch 'zmkfirmware:main' into rgb-auto-off
2022-02-28 19:27:30 +00: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
ReFil
d5cc804176
Update app/Kconfig
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
2022-02-20 15:17:01 +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
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
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
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
85b2d30bd5
feat(lighting): add backlight behavior
2022-02-05 23:40:18 -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
ReFil
6a7b56ebcd
Update rgb_underglow.c
2022-02-01 11:13:42 +00:00
ReFil
91a3dfa68c
feat(underglow): fix bug
2022-02-01 11:13:42 +00:00
ReFil
20a034fb37
fix(underglow): function tweak
2022-02-01 11:13:42 +00:00
ReFil
f1f04d2777
Update app/Kconfig
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
2022-02-01 11:13:42 +00:00
ReFil
5db27d1b44
clang
2022-02-01 11:13:42 +00:00
ReFil
ea6952b352
fix(formatting): clang format
2022-02-01 11:13:42 +00:00
ReFil
7830285f84
fix(formatting): minimise changes to files
2022-02-01 11:13:42 +00:00
ReFil
11e19b3490
initial rgb auto off port
2022-02-01 11:13:42 +00: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
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
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
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
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