From 3b71e1e8196d5db7e82a36edc3f0f0a8d3d46ee3 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Wed, 15 Jan 2020 02:14:48 -0800 Subject: Implement core communication --- tmk_core/common/action_layer.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmk_core/common/action_layer.c') diff --git a/tmk_core/common/action_layer.c b/tmk_core/common/action_layer.c index 4c7d15cd50..08523185bc 100644 --- a/tmk_core/common/action_layer.c +++ b/tmk_core/common/action_layer.c @@ -3,7 +3,9 @@ #include "action.h" #include "util.h" #include "action_layer.h" - +#ifdef ORYX_ENABLE +# include "oryx.h" +#endif #ifdef DEBUG_ACTION # include "debug.h" #else @@ -97,6 +99,9 @@ __attribute__((weak)) layer_state_t layer_state_set_kb(layer_state_t state) { re * Sets the layer to match the specifed state (a bitmask) */ void layer_state_set(layer_state_t state) { +#ifdef ORYX_ENABLE + layer_state_set_oryx(state); +#endif state = layer_state_set_kb(state); dprint("layer_state: "); layer_debug(); -- cgit v1.2.3