diff options
author | Damien Pollet <damien.pollet@gmail.com> | 2016-03-27 17:58:26 +0200 |
---|---|---|
committer | Damien Pollet <damien.pollet@gmail.com> | 2016-03-28 16:30:00 +0200 |
commit | ef21a855e6d60b78011ddb8940f58985b1c60acb (patch) | |
tree | 8182e65f6b9b0f923608a9dc123fc66c02581531 /tmk_core/common/action.h | |
parent | 80eefb09ac5de95a6977702b4014d4b4d79a5d7d (diff) | |
download | qmk_firmware-ef21a855e6d60b78011ddb8940f58985b1c60acb.tar.gz qmk_firmware-ef21a855e6d60b78011ddb8940f58985b1c60acb.zip |
Add per-event user hook function to QMK
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r-- | tmk_core/common/action.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index 8a4736d7bc..141dc3fca6 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h @@ -58,6 +58,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt); /* user defined special function */ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt); +/* user-defined (pre)processing of each key event */ +void process_action_user(keyrecord_t *record); + /* Utilities for actions. */ void process_action(keyrecord_t *record); void register_code(uint8_t code); |