|
|
@ -80,6 +80,9 @@ action_t action_for_key(uint8_t layer, keypos_t key)
|
|
|
|
action.code = keymap_function_id_to_action( (int)keycode & 0xFFF );
|
|
|
|
action.code = keymap_function_id_to_action( (int)keycode & 0xFFF );
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case QK_MACRO ... QK_MACRO_MAX:
|
|
|
|
case QK_MACRO ... QK_MACRO_MAX:
|
|
|
|
|
|
|
|
if (keycode & 0x800) // tap macros have upper bit set
|
|
|
|
|
|
|
|
action.code = ACTION_MACRO_TAP(keycode & 0xFF);
|
|
|
|
|
|
|
|
else
|
|
|
|
action.code = ACTION_MACRO(keycode & 0xFF);
|
|
|
|
action.code = ACTION_MACRO(keycode & 0xFF);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case QK_LAYER_TAP ... QK_LAYER_TAP_MAX:
|
|
|
|
case QK_LAYER_TAP ... QK_LAYER_TAP_MAX:
|
|
|
|