Initial passkey entry support.
This commit is contained in:
parent
3b10e00d27
commit
b3babe2505
5 changed files with 67 additions and 9 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue