bt: add BT_CLR_ALL behaviour
Defines behaviour to clear all paired Bluetooth profiles
This commit is contained in:
parent
6f8d080b6a
commit
5257cde1f5
4 changed files with 22 additions and 1 deletions
|
|
@ -31,6 +31,8 @@ static int on_keymap_binding_pressed(struct zmk_behavior_binding *binding,
|
|||
return zmk_ble_prof_prev();
|
||||
case BT_SEL_CMD:
|
||||
return zmk_ble_prof_select(binding->param2);
|
||||
case BT_CLR_ALL_CMD:
|
||||
return zmk_ble_clear_all_bonds();
|
||||
case BT_DISC_CMD:
|
||||
return zmk_ble_prof_disconnect(binding->param2);
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue