summaryrefslogtreecommitdiff
path: root/include/zmk/endpoints.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/endpoints.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/endpoints.h')
-rw-r--r--include/zmk/endpoints.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/zmk/endpoints.h b/include/zmk/endpoints.h
new file mode 100644
index 0000000..42734aa
--- /dev/null
+++ b/include/zmk/endpoints.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <zmk/keys.h>
+
+int zmk_endpoints_init();
+int zmk_endpoints_send_key_event(struct zmk_key_event key_event);