diff --git a/doc-dev/reference-manual.md b/doc-dev/reference-manual.md index f6ae84b22..430818acb 100644 --- a/doc-dev/reference-manual.md +++ b/doc-dev/reference-manual.md @@ -202,7 +202,7 @@ CONDITION = {ifShortcut | ifNotShortcut} [IFSHORTCUT_OPTIONS]* [KEYID]+ CONDITION = {ifGesture | ifNotGesture} [IFSHORTCUT_OPTIONS]* [KEYID]+ CONDITION = {ifPrimary | ifSecondary} [ simpleStrategy | advancedStrategy | ignoreTriggersFromSameHalf | acceptTriggersFromSameHalf ] CONDITION = {ifHold | ifTap} -CONDITION = {ifDoubletap | ifNotDoubletap} +CONDITION = {ifDoubletap | ifNotDoubletap} [taps ] CONDITION = {ifInterrupted | ifNotInterrupted} CONDITION = {ifReleased | ifNotReleased} CONDITION = {ifKeyActive | ifNotKeyActive} KEYID @@ -541,7 +541,7 @@ Conditions are checked before processing the rest of the command. If the conditi - `if BOOL` allows switching based on a custom expression. E.g., `if ($keystrokeDelay > 10) ...` - `else` condition is true if the previous command ended due to a failed condition. -- `ifDoubletap/ifNotDoubletap` is true if the macro was started at most 300ms after the start of another instance of the same macro. +- `ifDoubletap/ifNotDoubletap` is true if the macro was started at most 300ms after the start of another instance of the same macro. If `taps` is provided, test for that number of rapid taps in a row, for example `ifDoubletap taps 3` will test for a tripletap. - `ifInterrupted/ifNotInterrupted` is true if a keystroke action or mouse action was triggered during macro runtime. Allows fake implementation of secondary roles. Also allows interruption of cycles. - `ifReleased/ifNotReleased` is true if the key which activated current macro has been released. If the key has been physically released but the release has been postponed by another key, the conditien yields false. If the key has been physically released and the postponing mode was initiated by this macro (e.g., `postponeKeys ifReleased goTo ($currentAddress+2)`), it returns non-postponed release state (i.e., true if there's a matching release event in the postponing queue). - `ifPending/ifNotPending ` is true if there is at least `n` postponed keys in the postponing queue. In context of postponing mechanism, this condition acts similar in place of ifInterrupted. @@ -620,7 +620,7 @@ Key actions can be parametrized with macro arguments. These arguments can be exp This allows the user to trigger chorded shortcuts in an arbitrary order (all at the "same" time). E.g., if `A+Ctrl` is pressed instead of `Ctrl+A`, the keyboard will still send `Ctrl+A` if the two key presses follow within the specified time. - `set autoShiftDelay 0 |