Skip to content

Commit 55ba139

Browse files
authored
Merge pull request #187 from supercheetah/master
Add clarification to the help for key press and release.
2 parents de4d908 + 99eecb0 commit 55ba139

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Client/tool_key.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ static void show_help() {
5151
"\n"
5252
"Syntax: <keycode>:<pressed>\n"
5353
"e.g. 28:1 28:0 means pressing on the Enter button on a standard US keyboard.\n"
54+
" (where :1 for pressed means the key is down and then :0 means the key is released)"
5455
" 42:1 38:1 38:0 24:1 24:0 38:1 38:0 42:0 - \"LOL\"\n"
5556
"\n"
5657
"Non-interpretable values, such as 0, aaa, l0l, will only cause a delay.\n"

manpage/ydotool.1.scd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Currently implemented command(s):
3232
Type a given keycode.
3333

3434
e.g. 28:1 28:0 means pressing on the Enter button on a standard US keyboard.
35+
(where :1 for pressed means the key is down and then :0 means the key is released)
3536

3637
42:1 38:1 38:0 24:1 24:0 38:1 38:0 42:0 - "LOL"
3738

0 commit comments

Comments
 (0)