Pete Johanson
8a07938d9b
Minor cleanup.
4 years ago
Pete Johanson
8bba1fb738
Major mod-tap improvements.
...
* Track active mods when mods or keycode
events occur.
* Use the tracked mods when releasing or
generating keycode events.
* Track pending/used status in one array, for
improved storage efficency.
4 years ago
Pete Johanson
f548f2a87c
Initial stab at mod-tap improvements.
...
* Not working: Roll over + mod-tap with multiple
mod-tap bindings!
4 years ago
Pete Johanson
cf8c7856ff
Add the ability to capture event and release later
4 years ago
Nick
dc8c7011b1
If LED strip can't be found, behaviors return err
4 years ago
Pete Johanson
d1cb3969f0
Remove extra '#'.
4 years ago
Pete Johanson
c34472bf3f
Fixes for loading without encoder drivers.
...
* Build fixes.
4 years ago
Pete Johanson
d80063ff51
Initial display support.
4 years ago
Nick
6956094ac0
Add missing return To brightness up
4 years ago
Nick
564f787280
Add suggested changes
4 years ago
Nick
ca569c8143
Initial RGB Underglow implementation
4 years ago
Nick
bb09707bd2
Add base files and configuration for RGB underglow
4 years ago
Pete Johanson
b1bc5b4c82
Switch printk to LOG_DBG.
4 years ago
Pete Johanson
34ff6190bd
Initial behavior for key presses on encoder rotate
4 years ago
Pete Johanson
4d73938cb5
More sensor keymap work.
4 years ago
Pete Johanson
adfa1b5443
Initial work on sensor bindings.
4 years ago
Pete Johanson
5896c3032b
Fixes for BLE host connections w/ split support.
4 years ago
Pete Johanson
3338b3f7de
Revert minor change to main.
4 years ago
Pete Johanson
b48011ace6
Remove sensor test code.
4 years ago
Pete Johanson
7da9a1039f
Working encoder detection.
4 years ago
Pete Johanson
c4d3c03eb0
Improved function naming for central functions.
4 years ago
Pete Johanson
542a9de48a
Replace magic 16 with sane constant.
4 years ago
Pete Johanson
109c69cbab
EN11 is actually EC11, some sample work.
4 years ago
Pete Johanson
fd407c4876
Update connectin params once we're connected to.
4 years ago
Pete Johanson
2a6b9ec86e
Fixed min/max.
4 years ago
Pete Johanson
879fd5b8e7
Connection params tweaks.
4 years ago
Pete Johanson
893b99d907
Initial en11 exploration.
4 years ago
Pete Johanson
6701b7babc
Working BT settings.
4 years ago
Pete Johanson
d4afd989f3
More split implementation.
...
* Propogate key position state changes on central.
* Various BLE tweaks.
4 years ago
Pete Johanson
d1a5c7ee5a
Swtich to SYS_INIT.
4 years ago
Pete Johanson
be537d0656
Lots of work on split peripheral/central logic.
4 years ago
Pete Johanson
a165db6358
Initial work on split central support.
4 years ago
Pete Johanson
3796f76c56
Initial exploration of split BLE service.
...
* Service for split peripheral to report
position state to split central.
* Updated advertising info.
* Behavior for split BT until we have a proper
event system.
4 years ago
Pete Johanson
7c5fb7adb5
Use SYS_INIT for BLE and USB init.
4 years ago
Pete Johanson
7bf8621d5b
Whitespace fix.
4 years ago
Pete Johanson
a62a2f8c5c
Cleanup, license headers.
4 years ago
Pete Johanson
57e061ac91
Lots of cleanup of old events/behavior mash.
4 years ago
Pete Johanson
96ec16da92
Modifier event, tweaks for linker script.
4 years ago
Pete Johanson
9a991bf019
Initial event manager work, and two first events.
...
* Add initial event manager implementation,
roughly mimicking Nordic's API.
* Add `position_state_changed` and
`keycode_state_changed` events.
* Hook up HID and keymap to new events
instead of using behaviour global event
crazy.
4 years ago
Pete Johanson
5ffd95694f
Kyria left/right overlays, matrix transform fixes
...
* Refactor Kyria into separate left/right "revisions"
of the Kyria shield, and include central
kyria.dtsi file with common definition.
* Fixes for keymaps to work fully with matrix
transforms that override effective rows/columns.
* Add ability for matrix transform to do row/col
offsets, which is needed for split keyboards.
4 years ago
Pete Johanson
55cf9db564
Fix consumer keys w/ refactored behaviors.
4 years ago
Pete Johanson
ec663310c1
Clean up after refactor, better HID constants.
4 years ago
Pete Johanson
93635077e6
Implement momentary layer + transparent behaviors
...
* Implement "momentary layer" behavior with `&mo`
reference.
* Implement basic "transparent" behavior with `&trans`
reference.
4 years ago
Pete Johanson
223edf05ad
Refactor global bindings, implement mod-tap.
...
* Use extra comptible = "zmk,behavior-global" to add
behaviors to global bindings for event notification.
* Implement mod-tap, as a keymap binding and global one
to skip tap if other keycode pressed while held.
4 years ago
Pete Johanson
7e659851c8
Refactor matrix transform, positions pervasively
...
* Do mapping to positions right in kscan handler, and then
surface positions throughout the API.
5 years ago
Pete Johanson
d65629b9a0
Lots more pieces toward HID working again.
5 years ago
Pete Johanson
c23d752917
Some initial work on behavior bindings for keymaps
5 years ago
Pete Johanson
1659562bb7
Rename keymap-transform to matrix-transform.
...
* Clearer name to capture essence of the role of the
transform.
5 years ago
Pete Johanson
1751470785
Initial work on keymap transforms for non-standard matrixes.
...
* Allows "gaps" for keyboards like Kyra.
* Allows keyboards with matrixes that don't map the logical key
locations to have normal looking keymaps when defined.
5 years ago
Pete Johanson
38f1dbd984
Move Zephyr app into subdirectory.
5 years ago