diff options
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/action_layer.c | 7 |
1 files changed, 6 insertions, 1 deletions
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(); |