From d0a0ae8d56d8248115787d2335df0e5701ed9a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Tu=C4=8Dek?= Date: Wed, 21 Nov 2018 15:57:21 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd97b3f5f..1b620d4cd 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ The following grammar is supported: CONDITION = ifDoubletap | ifNotDoubletap CONDITION = ifInterrupted | ifNotInterrupted CONDITION = {ifPlaytime | ifNotPlaytime} - CONDITION = ifShift | ifAlt | ifCtrl ifGui | ifNotShift | ifNotAlt | ifNotCtrl | ifNotGui + CONDITION = ifShift | ifAlt | ifCtrl | ifGui | ifNotShift | ifNotAlt | ifNotCtrl | ifNotGui - `ifDoubletap/ifNotDoubletap` is true if previous played macro had the same index and finished at most 250ms ago - `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. From d1caf41107e872f1353da5affac4a4e7f07447c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Tu=C4=8Dek?= Date: Thu, 22 Nov 2018 15:24:15 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b620d4cd..b1e2d4184 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ Some of the usecases which can be achieved via these commands are: - runtime macros ## Examples +**Note that every command (i.e., every line in the examples) has to be inputted as a separate action!** + For instance, if the following text is pasted as a macro text action, playing the macro will result in toggling of fn layer. $switchLayer fn @@ -33,7 +35,7 @@ Runtime macro recorder example. In this setup, shift+key will start recording (i $ifShift recordMacro A $ifNotShift playMacro A -Implementation of standard double-tap-locking hold modifier in recursive version could look like (every line as a separate action!): +Implementation of standard double-tap-locking hold modifier in recursive version could look like: $holdLayer fn $ifDoubletap switchLayer fn