Skip to content

Commit

Permalink
Update documentation on the Key action's specification format
Browse files Browse the repository at this point in the history
The documentation now mentions that both pause fields (innerpause
and outerpause) should be given pause values in hundredths of a
second.  This factor is the same one used by the Pause action.
  • Loading branch information
drmfinlay committed May 9, 2021
1 parent 3668e83 commit c8264fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dragonfly/actions/action_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@
:ref:`RefKeySpecNames`.
- *innerpause* --
The time to pause between repetitions of this keystroke.
It should be given in hundredths of a second. For
example, "20" will pause for 20/100s = 0.2 seconds.
- *repeat* --
The number of times this keystroke should be repeated.
If not specified, the key will be pressed and released once.
- *outerpause* --
The time to pause after this keystroke.
It should be given in hundredths of a second. For
example, "20" will pause for 20/100s = 0.2 seconds.
- *direction* --
Whether to press-and-hold or release the key. Must be
one of the following:
Expand Down

0 comments on commit c8264fa

Please sign in to comment.