if (IS_NOEVENT(event)) { return; }
- action_t action = layer_switch_get_action(event.key);
+ action_t action = layer_switch_get_action(event);
dprint("ACTION: "); debug_action(action);
#ifndef NO_ACTION_LAYER
dprint(" layer_state: "); layer_debug();
#endif
}
-bool is_tap_key(keypos_t key)
+bool is_tap_key(keyevent_t event)
{
- action_t action = layer_switch_get_action(key);
+ action_t action = layer_switch_get_action(event);
switch (action.kind.id) {
case ACT_LMODS_TAP: