X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=documentation_en.md;h=899ef1ad77ba8eda0fc58a8073fe0ca30dc652b5;hb=21ffec315b8fa8a6b46351021da915236148a7b1;hp=1cf5cfdc2e587e4c6476134a255acd681b329e7d;hpb=16847231fa5a85cbb0f792e6e461392879047c36;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git diff --git a/documentation_en.md b/documentation_en.md index 1cf5cfd..899ef1a 100644 --- a/documentation_en.md +++ b/documentation_en.md @@ -226,6 +226,11 @@ protected for 2 seconds after each stroke. done, the key will remain disabled (semi-transparent and crossed) for that amount of time (in seconds). +#### `common` key property + +A special entry `common` has its properties applying to all the keys. They can +be overriden individually. + ### `keys` : actions related to keys This section lets you describe for each key, the list of actions associated to @@ -381,9 +386,9 @@ actions. action. When false, it is thus useless to add actions after that one. - `interrupt_wait`: stop a wait event (normal `wait` or fade out wait). The keys that were waiting will move to the next actions. Parameters: - * `wait_id: name` : gives the id of the `wait` to interrupt (defined with - `set_wait_id`, see actions `wait` and `stop`). To interrupt several waits, - use the same action several times. + * `wait_id: name` (optional) gives the id of the `wait` to interrupt (defined with + `set_wait_id`, see actions `wait` and `stop`). If not given, interrupts + all wait events. - `run_command` : Run a command. Parameters: * `command: my_command` : Gives the command to run. * `wait: true/false` (optional, default false) if true, waits for the