Add multimple connection support

This commit is contained in:
Dimitris Zervas
2020-09-22 02:29:58 +03:00
parent 7bd2bdb35f
commit a6d36d57a7
4 changed files with 74 additions and 21 deletions

View File

@@ -259,3 +259,13 @@ def led_mode_breathe(key, state, *args, **kwargs):
def bt_clear_bonds(key, state, *args, **kwargs):
state.config._hid_helper_inst.clear_bonds()
return state
def bt_next_conn(key, state, *args, **kwargs):
state.config._hid_helper_inst.next_connection()
return state
def bt_prev_conn(key, state, *args, **kwargs):
state.config._hid_helper_inst.previous_connection()
return state