diff options
author | Ran Benita <ran@unusedvar.com> | 2021-07-31 22:03:33 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2021-07-31 22:03:33 +0300 |
commit | f8c430cf7157bb45aeeb3dacce69730bad3052a4 (patch) | |
tree | aba64471cd80c6955bf7298182112e9f3baabeef /tools/xkbcli-how-to-type.1 | |
parent | 5419e57736345132b2ec5c6fcbf2d01cc3ed858b (diff) | |
download | xorg-lib-libxkbcommon-f8c430cf7157bb45aeeb3dacce69730bad3052a4.tar.gz |
tools/how-to-type: add --keysym for how to type a keysym
Previously, could only check how to type a Unicode codepoint, but
searching for a keysym directly is also occasionally useful.
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'tools/xkbcli-how-to-type.1')
-rw-r--r-- | tools/xkbcli-how-to-type.1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/xkbcli-how-to-type.1 b/tools/xkbcli-how-to-type.1 index 5211d0f..d5002ae 100644 --- a/tools/xkbcli-how-to-type.1 +++ b/tools/xkbcli-how-to-type.1 @@ -9,7 +9,7 @@ .Sh SYNOPSIS .Nm .Op options -.Ar codepoint +.Ar codepoint/keysym . .Sh DESCRIPTION .Nm @@ -17,6 +17,9 @@ prints the key combinations (keycode + modifiers) in the keymap's layouts which would produce the given Unicode codepoint. . .Bl -tag -width Ds +.It Fl \-keysym +Treat the argument as a keysym, not a Unicode codepoint +. .It Fl \-rules Ar rules The XKB ruleset . |