forked from kofal.net/zmk
refactor: Condition source props on CONFIG_ZMK_SPLIT
This commit is contained in:
committed by
Pete Johanson
parent
b249135742
commit
fb18a4d871
@@ -586,7 +586,9 @@ int zmk_keymap_apply_position_state(uint8_t source, zmk_keymap_layer_id_t layer_
|
||||
.layer = layer_id,
|
||||
.position = position,
|
||||
.timestamp = timestamp,
|
||||
#if IS_ENABLED(CONFIG_ZMK_SPLIT)
|
||||
.source = source,
|
||||
#endif
|
||||
};
|
||||
|
||||
LOG_DBG("layer_id: %d position: %d, binding name: %s", layer_id, position,
|
||||
|
||||
Reference in New Issue
Block a user