Pete Johanson
c054feb3c9
Merge pull request #100 from petejohanson/behaviors/add-none
...
Add `&none` behavior.
2020-08-18 14:31:20 -04:00
Pete Johanson
63e02d60dc
feat(behaviors): Add &none behavior
2020-08-18 14:28:11 -04:00
Cody McGinnis
7facb6eee8
fix(keymap): move the toggle layer logic to keymap.c
2020-08-18 14:02:25 -04:00
Cody McGinnis
a82f990d4c
feat(keymap): allow users to toggle layers
2020-08-18 14:02:24 -04:00
Pete Johanson
8a07938d9b
Minor cleanup.
2020-07-31 23:29:32 -04:00
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.
2020-07-31 14:38:10 -04:00
Pete Johanson
f548f2a87c
Initial stab at mod-tap improvements.
...
* Not working: Roll over + mod-tap with multiple
mod-tap bindings!
2020-07-31 00:07:16 -04:00
Nick
6956094ac0
Add missing return To brightness up
2020-07-25 15:39:01 -05:00
Nick
564f787280
Add suggested changes
2020-07-25 14:53:42 -05:00
Nick
ca569c8143
Initial RGB Underglow implementation
2020-07-24 22:37:00 -05:00
Nick
bb09707bd2
Add base files and configuration for RGB underglow
2020-07-24 01:06:56 -05:00
Pete Johanson
34ff6190bd
Initial behavior for key presses on encoder rotate
2020-07-22 14:54:18 -04:00
Pete Johanson
57e061ac91
Lots of cleanup of old events/behavior mash.
2020-06-30 15:21:42 -04:00
Pete Johanson
96ec16da92
Modifier event, tweaks for linker script.
2020-06-30 10:43:09 -04:00
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.
2020-06-30 00:31:09 -04:00
Pete Johanson
55cf9db564
Fix consumer keys w/ refactored behaviors.
2020-06-22 11:06:01 -04:00
Pete Johanson
93635077e6
Implement momentary layer + transparent behaviors
...
* Implement "momentary layer" behavior with `&mo`
reference.
* Implement basic "transparent" behavior with `&trans`
reference.
2020-06-21 21:56:49 -04:00
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.
2020-06-21 21:43:44 -04:00
Pete Johanson
7e659851c8
Refactor matrix transform, positions pervasively
...
* Do mapping to positions right in kscan handler, and then
surface positions throughout the API.
2020-06-20 17:54:52 -04:00
Pete Johanson
d65629b9a0
Lots more pieces toward HID working again.
2020-06-20 00:11:39 -04:00
Pete Johanson
c23d752917
Some initial work on behavior bindings for keymaps
2020-06-19 15:32:33 -04:00