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.
This commit is contained in:
parent
d7dee20e8d
commit
4402e4fbc7
22 changed files with 160 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue