diff --git a/right/src/macros.c b/right/src/macros.c index 2a4201d..2a236e4 100644 --- a/right/src/macros.c +++ b/right/src/macros.c @@ -296,7 +296,7 @@ bool processMouseButtonAction(void) { static bool pressStarted; - switch (currentMacroAction.key.action) { + switch (currentMacroAction.mouseButton.action) { case MacroSubAction_Tap: if (!pressStarted) { pressStarted = true;