#include "keymap.h"
static const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- {{KC_BTLD}},
-}; // to test: KC_CAPS, KT_BTLD
+ {{KC_A}},
+}; // to test: KC_CAPS, KT_BTLD, KC_A
-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 fn_actions[FN_INDEX(keycode)];
}