summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-18 11:20:15 -0400
committerPete Johanson <peter@peterjohanson.com>2020-08-18 13:17:10 -0400
commit4402e4fbc7bc79206589d3006fde802c4ba70ec7 (patch)
treebdbff3b1edb4b62d8d1dc32c0d640bb6b8fa1ef0 /app/include
parentd7dee20e8d9b0b566859304063df2176aef8c057 (diff)
feeature(bt): Add "unpair combo" on startup.
* Especially for splits, we need the ability to unpair all paired devices as sledgehammer if we need to "reset things", and doing so via keymaps isn't suitable. * Allows shields to define a collection of key positions that if all held 2 seconds after startup, will unpair all existing pairs for the device.
Diffstat (limited to 'app/include')
-rw-r--r--app/include/zmk/ble.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/include/zmk/ble.h b/app/include/zmk/ble.h
index a77237d..e760ed7 100644
--- a/app/include/zmk/ble.h
+++ b/app/include/zmk/ble.h
@@ -3,5 +3,5 @@
#include <zmk/keys.h>
-int zmk_ble_init();
+int zmk_ble_unpair_all();
bool zmk_ble_handle_key_user(struct zmk_key_event *key_event);