forked from kofal.net/zmk
Merge pull request #99 from petejohanson/core/bluetooth-unpair-magic-combo
Add magic combo for unpairing BT devices on start.
This commit is contained in:
@@ -200,6 +200,12 @@ static int zmk_ble_init(struct device *_arg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int zmk_ble_unpair_all()
|
||||
{
|
||||
LOG_DBG("");
|
||||
return bt_unpair(BT_ID_DEFAULT, NULL);
|
||||
};
|
||||
|
||||
bool zmk_ble_handle_key_user(struct zmk_key_event *key_event)
|
||||
{
|
||||
zmk_key key = key_event->key;
|
||||
|
||||
Reference in New Issue
Block a user