Rename macro key actions in accordance with Agent
This commit is contained in:
@@ -189,7 +189,7 @@ bool processKeyMacroAction(void)
|
|||||||
static bool pressStarted;
|
static bool pressStarted;
|
||||||
|
|
||||||
switch (currentMacroAction.key.action) {
|
switch (currentMacroAction.key.action) {
|
||||||
case MacroSubAction_Press:
|
case MacroSubAction_Tap:
|
||||||
if (!pressStarted) {
|
if (!pressStarted) {
|
||||||
pressStarted = true;
|
pressStarted = true;
|
||||||
addModifiers(currentMacroAction.key.modifierMask);
|
addModifiers(currentMacroAction.key.modifierMask);
|
||||||
@@ -234,7 +234,7 @@ bool processKeyMacroAction(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MacroSubAction_Hold:
|
case MacroSubAction_Press:
|
||||||
addModifiers(currentMacroAction.key.modifierMask);
|
addModifiers(currentMacroAction.key.modifierMask);
|
||||||
switch (currentMacroAction.key.type) {
|
switch (currentMacroAction.key.type) {
|
||||||
case KeystrokeType_Basic:
|
case KeystrokeType_Basic:
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
} macro_reference_t;
|
} macro_reference_t;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
MacroSubAction_Tap,
|
||||||
MacroSubAction_Press,
|
MacroSubAction_Press,
|
||||||
MacroSubAction_Hold,
|
|
||||||
MacroSubAction_Release,
|
MacroSubAction_Release,
|
||||||
} macro_sub_action_t;
|
} macro_sub_action_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user