diff options
author | dbroqua <dbroqua@mousur.org> | 2017-04-02 23:27:57 +0200 |
---|---|---|
committer | dbroqua <dbroqua@mousur.org> | 2017-04-02 23:27:57 +0200 |
commit | e7347ff0de93ff823462b3ff2b4136b44dc576c0 (patch) | |
tree | 286e2a78fee74eb370641a981d2c81c8e02942b4 /tmk_core/common/action_layer.h | |
parent | 9e72b7e7e97f9ae92c7eb1de66aa03cad047baf6 (diff) | |
parent | 24ec8f509703cbaf9de7b41d251dbb7fcd339559 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'tmk_core/common/action_layer.h')
-rw-r--r-- | tmk_core/common/action_layer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h index 025cf5420f..d89ed6e5ce 100644 --- a/tmk_core/common/action_layer.h +++ b/tmk_core/common/action_layer.h @@ -29,6 +29,9 @@ extern uint32_t default_layer_state; void default_layer_debug(void); void default_layer_set(uint32_t state); +__attribute__((weak)) +uint32_t default_layer_state_set_kb(uint32_t state); + #ifndef NO_ACTION_LAYER /* bitwise operation */ void default_layer_or(uint32_t state); @@ -69,6 +72,8 @@ void layer_xor(uint32_t state); #define layer_xor(state) #define layer_debug() +__attribute__((weak)) +uint32_t layer_state_set_kb(uint32_t state); #endif /* pressed actions cache */ |