Skip to content

Commit 43b1a11

Browse files
committed
Add hint for getting keycodes in manual
1 parent 724799a commit 43b1a11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manpage/ydotool.1.scd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Currently implemented command(s):
4040

4141
See `/usr/include/linux/input-event-codes.h' for available key codes (KEY_\*).
4242

43+
You can find the key name/number your keyboard is sending to libinput by running `sudo libinput record` and then selecting your keyboard from the list it will show you the libinput proper key name and number for each key you press.
44+
4345
Options:
4446
*-d*,*--key-delay* _<ms>_
4547
Delay time between keystrokes. Default 12ms.

0 commit comments

Comments
 (0)