aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/action_layer.h
diff options
context:
space:
mode:
authorGravatar Priyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-15 05:11:24 +0700
committerGravatar Priyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-15 05:11:24 +0700
commit5e310746339bcc37385bc6cd3e0a09fbdf1c273b (patch)
tree77085a47bb8f475d0ac0703ade96def4cb7d01a4 /tmk_core/common/action_layer.h
parentdf311c7b40cb6e611a522331dca9836f6eef9dce (diff)
parentd369bfb83a74d94ed0fbb13f8ee3a8a1146da770 (diff)
downloadqmk_firmware-5e310746339bcc37385bc6cd3e0a09fbdf1c273b.tar.gz
Merge branch 'layer_state_set_kb' into promethium
Diffstat (limited to 'tmk_core/common/action_layer.h')
-rw-r--r--tmk_core/common/action_layer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h
index 025cf5420..fc714700d 100644
--- a/tmk_core/common/action_layer.h
+++ b/tmk_core/common/action_layer.h
@@ -69,6 +69,8 @@ void layer_xor(uint32_t state);
#define layer_xor(state)
#define layer_debug()
+__attribute__((weak))
+void layer_state_set_kb(uint32_t oldstate, uint32_t newstate);
#endif
/* pressed actions cache */