summaryrefslogtreecommitdiff
path: root/tmk_core/common/action.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-10-27 19:10:36 -0400
committerJack Humbert <jack.humb@gmail.com>2015-10-27 19:10:36 -0400
commite98c501a614385132a2e2a61a1242f12bab89969 (patch)
treef1f302d4ea2b6661f503b76782323545691ee87a /tmk_core/common/action.h
parentd311fd8d1a0af3b767d26b520d399bf0db22f058 (diff)
almost there - keymap_key_to_keycode returning 16bits, maybeunicode
Diffstat (limited to 'tmk_core/common/action.h')
-rw-r--r--tmk_core/common/action.h3
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);