/* action for key */
action_t action_for_key(uint8_t layer, keypos_t key);
-action_t action_for_key_default(uint8_t layer, keypos_t key);
/* macro */
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt);
void clear_keyboard(void);
void clear_keyboard_but_mods(void);
void layer_switch(uint8_t new_layer);
-bool is_tap_key(keypos_t key);
+bool is_tap_key(keyevent_t event);
/* debug */
void debug_event(keyevent_t event);