diff options
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r-- | tmk_core/common/action.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index 8a4736d7bc..16a1ed4b3f 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h @@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <stdint.h> #include <stdbool.h> +#include <stddef.h> #include "keyboard.h" #include "keycode.h" #include "action_code.h" @@ -50,7 +51,7 @@ typedef struct { void action_exec(keyevent_t event); /* action for key */ -action_t action_for_key(uint8_t layer, keypos_t key); +action_t action_for_key(keyrecord_t *record, uint8_t layer, keypos_t key); /* macro */ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt); |