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.
This commit is contained in:
parent
22238d24de
commit
9a991bf019
19 changed files with 249 additions and 112 deletions
6
app/include/linker/zmk-linker-defs.h
Normal file
6
app/include/linker/zmk-linker-defs.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
#define→EVENT_TYPE_SECTIONS()→ → → → \
|
||||
→ → __event_type_start = .;→ → \
|
||||
→ → KEEP(*(".event_type_*"));→ → \
|
||||
→ → __event_type_end = .;→→ → \
|
||||
Loading…
Add table
Add a link
Reference in a new issue