Commit graph

896 commits

Author SHA1 Message Date
Jamie Ding
e87736242a attempt to fix issue where D+S would combo into shift as expected, but then releasing S while keeping D held would NOT release the shift. This results in the bigram @2 occasionally being mistyped as @@. The attempted fix is to use D as @none, and S as a mod/tap positional instead of a layer/tap positional. This doesn't quite work because now S+D produces D instead of a pure shift 2022-03-18 18:51:21 +00:00
Jamie Ding
5097eeed12 fix menu combo position 2022-03-17 00:08:45 +00:00
Jamie Ding
cefb8dd70a formatting 2022-03-14 05:32:51 +00:00
Jamie Ding
d2fc4fc9c8 switch left and right bracket, move scroll lock, pause break, print screen and caps lock out of nav layer to allow left-hand shift combo to still work when nav layer is active 2022-03-14 05:28:28 +00:00
Jamie Ding
a6c1f41866 move caps lock combo to m+, 2022-03-14 03:40:09 +00:00
Jamie Ding
aba63a92d1 increase timeout for cross-hand, caps-lock combo 2022-03-14 02:53:38 +00:00
Jamie Ding
e9d496be93 tweak combo timeout to 37 2022-03-14 02:45:24 +00:00
Jamie Ding
dc5d908b63 add shift to num and func layers 2022-03-14 02:43:18 +00:00
Jamie Ding
3c0ae06c16 offload most of right pinky duty (except quote) 2022-03-14 02:03:05 +00:00
Jamie Ding
fb585d24d1 re-unite right/left hand combo timeouts, and fix position of right hand positiona layer tap 2022-03-14 01:30:08 +00:00
Jamie Ding
20123ee236 split combo timeouts to right/left hand 2022-03-14 01:21:09 +00:00
Jamie Ding
7cb5924e93 right hand k/l shift 2022-03-14 01:12:07 +00:00
Jamie Ding
e78de821e9 move grav from left hand to right hand 2022-03-14 00:53:44 +00:00
Jamie Ding
cc6d72905a add constant for combo timeout 2022-03-14 00:51:29 +00:00
Jamie Ding
7e26919f12 swap layer and shift combos 2022-03-14 00:49:51 +00:00
Jamie Ding
68bf8d06f9 make SYS combo 3 key instead of 4 2022-03-14 00:24:28 +00:00
Jamie Ding
dc4de1f3fd swap esc and tab combo, move tilde and grav to r/t 2022-03-14 00:22:39 +00:00
Jamie Ding
071bb2b263 num layer, move grav, tilde, and none-out <D> 2022-03-13 23:51:38 +00:00
Jamie Ding
6d4b012e93 fix bug, combo esc was 26 and 26 instead of 26 and 27 2022-03-13 23:44:41 +00:00
Jamie Ding
abc79a9535 fix bug where <j> <d> intending <shift> produced 'D' 2022-03-13 23:38:03 +00:00
Jamie Ding
2e8628b085 initial implementation 2022-03-13 23:36:47 +00:00
Jamie Ding
3e09f63975 Merge branch 'upstream_main' into mercury 2022-03-12 02:23:17 +00: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
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
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