diff --git a/right/src/macros.c b/right/src/macros.c index 900b3fc..566cbcf 100644 --- a/right/src/macros.c +++ b/right/src/macros.c @@ -189,7 +189,7 @@ bool processKeyMacroAction(void) static bool pressStarted; switch (currentMacroAction.key.action) { - case MacroSubAction_Press: + case MacroSubAction_Tap: if (!pressStarted) { pressStarted = true; addModifiers(currentMacroAction.key.modifierMask); @@ -234,7 +234,7 @@ bool processKeyMacroAction(void) break; } break; - case MacroSubAction_Hold: + case MacroSubAction_Press: addModifiers(currentMacroAction.key.modifierMask); switch (currentMacroAction.key.type) { case KeystrokeType_Basic: diff --git a/right/src/macros.h b/right/src/macros.h index 1fded26..a4f1c52 100644 --- a/right/src/macros.h +++ b/right/src/macros.h @@ -20,8 +20,8 @@ } macro_reference_t; typedef enum { + MacroSubAction_Tap, MacroSubAction_Press, - MacroSubAction_Hold, MacroSubAction_Release, } macro_sub_action_t;