forked from kofal.net/zmk
refactor(splits): Use index for event source.
* Track peripherals by indexes slot, with all appropiate peripheral state stored in the slot. * Event sources tracked by peripheral slot index.
This commit is contained in:
committed by
Pete Johanson
parent
e8540f17fc
commit
9297c5f2b4
@@ -4,5 +4,5 @@
|
||||
#include <bluetooth/addr.h>
|
||||
#include <zmk/behavior.h>
|
||||
|
||||
int zmk_split_bt_invoke_behavior(const bt_addr_le_t *source, struct zmk_behavior_binding *binding,
|
||||
int zmk_split_bt_invoke_behavior(uint8_t source, struct zmk_behavior_binding *binding,
|
||||
struct zmk_behavior_binding_event event, bool state);
|
||||
Reference in New Issue
Block a user