Rename macro key actions in accordance with Agent

This commit is contained in:
Eric Tang
2018-06-24 14:03:39 -07:00
parent 6e11c0b8af
commit be82530412
2 changed files with 3 additions and 3 deletions

View File

@@ -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:

View File

@@ -20,8 +20,8 @@
} macro_reference_t;
typedef enum {
MacroSubAction_Tap,
MacroSubAction_Press,
MacroSubAction_Hold,
MacroSubAction_Release,
} macro_sub_action_t;