summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_layer.c
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2020-01-15 02:14:48 -0800
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commit3b71e1e8196d5db7e82a36edc3f0f0a8d3d46ee3 (patch)
treecdcdf7a4f55eeef6f74c5dcd72f6a19e4c84f6b9 /tmk_core/common/action_layer.c
parent5c1c41462a1f9d4002e5955ba749f616b4d13ca0 (diff)
Implement core communication
Diffstat (limited to 'tmk_core/common/action_layer.c')
-rw-r--r--tmk_core/common/action_layer.c7
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();