mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-04-04 04:15:32 -05:00
Initial passkey entry support.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user