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
|
|
@ -3,5 +3,4 @@
|
|||
#include <behaviors/mod_tap.dtsi>
|
||||
#include <behaviors/momentary_layer.dtsi>
|
||||
#include <behaviors/reset.dtsi>
|
||||
#include <behaviors/keymap.dtsi>
|
||||
#include <behaviors/hid.dtsi>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
/ {
|
||||
behaviors {
|
||||
keymap_behavior: behavior_keymap {
|
||||
compatible = "zmk,behavior-keymap", "zmk,behavior-global";
|
||||
label = "KEYMAP";
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# Copyright (c) 2020, Pete Johanson
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
description: Keymap Behavior
|
||||
|
||||
compatible: "zmk,behavior-keymap"
|
||||
|
||||
include: zero_param.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue