refactor: Condition source props on CONFIG_ZMK_SPLIT

This commit is contained in:
Cem Aksoylar
2024-08-17 21:03:43 -07:00
committed by Pete Johanson
parent b249135742
commit fb18a4d871
11 changed files with 86 additions and 34 deletions

View File

@@ -26,7 +26,9 @@ struct zmk_behavior_binding_event {
int layer;
uint32_t position;
int64_t timestamp;
#if IS_ENABLED(CONFIG_ZMK_SPLIT)
uint8_t source;
#endif
};
/**