X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=common%2Fkeymap.c;fp=common%2Fkeymap.c;h=f72be577941f118a62dbf98607fa926c1106e6ba;hb=23c32d304bcc5146a575e547bba80ee8d86a2856;hp=ddc321052479756f2b0ec3333966048ced9568e3;hpb=000f3c4c543e0c4490787ccc3a8920d4ee0692ec;p=max%2Ftmk_keyboard.git diff --git a/common/keymap.c b/common/keymap.c index ddc32105..f72be577 100644 --- a/common/keymap.c +++ b/common/keymap.c @@ -20,6 +20,7 @@ along with this program. If not, see . #include "keycode.h" #include "layer_switch.h" #include "action.h" +#include "action_macro.h" #include "debug.h" @@ -39,9 +40,10 @@ action_t action_for_key(uint8_t layer, key_t key) } __attribute__ ((weak)) -void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) -{ -} +const prog_macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { return MACRO_NONE; } + +__attribute__ ((weak)) +void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {} #else /* * legacy keymap support