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.
This commit is contained in:
Pete Johanson
2020-05-18 09:11:46 -04:00
parent b3babe2505
commit c1905745b3
26 changed files with 109 additions and 64 deletions

6
include/zmk/endpoints.h Normal file
View File

@@ -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);