summaryrefslogtreecommitdiff
path: root/include/zmk/handlers.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-05-18 09:11:46 -0400
committerPete Johanson <peter@peterjohanson.com>2020-05-18 09:11:46 -0400
commitc1905745b3578037d1791bd634a3d1607cafd525 (patch)
tree6c16a1fd7b1a7602470950cbf46e0dc353c4f329 /include/zmk/handlers.h
parentb3babe2505fe4542e18967d90ccfc2783943243f (diff)
Refactor build/config/keymaps.
* Move all headers to `include/zmk` directory. * Update includes to reference them properly. * Add `keymap.c` file from keymap, if found. * Toplevel CONFIG_ZMK_BLE aggregate config setting.
Diffstat (limited to 'include/zmk/handlers.h')
-rw-r--r--include/zmk/handlers.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/zmk/handlers.h b/include/zmk/handlers.h
new file mode 100644
index 0000000..a10851f
--- /dev/null
+++ b/include/zmk/handlers.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <dt-bindings/zmk/keys.h>
+
+#include <zmk/keymap.h>
+#include <zmk/keys.h>
+
+void zmk_handle_key(struct zmk_key_event key_event);