refactor(events): return 'ZMK_EV_EVENT_BUBBLE' instead of magic number 0
This commit is contained in:
parent
5a72662898
commit
caa285852a
6 changed files with 13 additions and 12 deletions
|
|
@ -19,6 +19,7 @@ struct zmk_event_header {
|
|||
uint8_t last_listener_index;
|
||||
};
|
||||
|
||||
#define ZMK_EV_EVENT_BUBBLE 0
|
||||
#define ZMK_EV_EVENT_HANDLED 1
|
||||
#define ZMK_EV_EVENT_CAPTURED 2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue