Initial passkey entry support.

This commit is contained in:
Pete Johanson
2020-05-16 23:26:26 -04:00
parent 3b10e00d27
commit b3babe2505
5 changed files with 67 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
#include "handlers.h"
#include "ble.h"
#include "endpoints.h"
__attribute__((weak)) bool zmk_handle_key_user(struct zmk_key_event *key_event)
@@ -15,5 +16,10 @@ void zmk_handle_key(struct zmk_key_event key_event)
return;
}
if (!zmk_ble_handle_key_user(&key_event))
{
return;
}
zmk_endpoints_send_key_event(key_event);
};