#include "keycode.h"
#include "action.h"
#include "action_macro.h"
+#include "action_code.h"
#include "report.h"
#include "host.h"
#include "print.h"
{{KC_CAPS}}, // test with KC_CAPS, KC_A, KC_BTLD
};
-static const uint16_t fn_actions[] = {
+static const action_t fn_actions[] = {
};
/* translates key to keycode */
/* translates Fn keycode to action */
action_t keymap_fn_to_action(uint8_t keycode)
{
- return (action_t){ .code = fn_actions[FN_INDEX(keycode)] };
+ return (action_t)fn_actions[FN_INDEX(keycode)];
}