summaryrefslogtreecommitdiff
path: root/app/dts
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-30 00:31:09 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-30 00:31:09 -0400
commit9a991bf019d6f723bc4230822852efa78a05be49 (patch)
tree5c6604f146502a9f4886231bb0c3b39d7646888f /app/dts
parent22238d24de3a25cb9242330eba568294c7937c63 (diff)
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.
Diffstat (limited to 'app/dts')
-rw-r--r--app/dts/behaviors.dtsi1
-rw-r--r--app/dts/behaviors/keymap.dtsi9
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-keymap.yaml8
3 files changed, 0 insertions, 18 deletions
diff --git a/app/dts/behaviors.dtsi b/app/dts/behaviors.dtsi
index cd5a3ab..7a4f8fb 100644
--- a/app/dts/behaviors.dtsi
+++ b/app/dts/behaviors.dtsi
@@ -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> \ No newline at end of file
diff --git a/app/dts/behaviors/keymap.dtsi b/app/dts/behaviors/keymap.dtsi
deleted file mode 100644
index ec434d5..0000000
--- a/app/dts/behaviors/keymap.dtsi
+++ /dev/null
@@ -1,9 +0,0 @@
-/ {
- behaviors {
- keymap_behavior: behavior_keymap {
- compatible = "zmk,behavior-keymap", "zmk,behavior-global";
- label = "KEYMAP";
- #binding-cells = <0>;
- };
- };
-};
diff --git a/app/dts/bindings/behaviors/zmk,behavior-keymap.yaml b/app/dts/bindings/behaviors/zmk,behavior-keymap.yaml
deleted file mode 100644
index 1d8a51f..0000000
--- a/app/dts/bindings/behaviors/zmk,behavior-keymap.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (c) 2020, Pete Johanson
-# SPDX-License-Identifier: MIT
-
-description: Keymap Behavior
-
-compatible: "zmk,behavior-keymap"
-
-include: zero_param.yaml