refactor(events): return 'ZMK_EV_EVENT_BUBBLE' instead of magic number 0

This commit is contained in:
Okke Formsma
2020-12-16 19:41:53 +01:00
committed by Pete Johanson
parent 5a72662898
commit caa285852a
6 changed files with 13 additions and 12 deletions

View File

@@ -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