...
This commit is contained in:
parent
0f8b83755a
commit
063d6652e0
@ -3,7 +3,7 @@
|
||||
See link:protocol-extensions.asciidoc#keyboard-handling[Keyboard Handling protocol extension]
|
||||
|
||||
|===
|
||||
| Name | Encoded representation
|
||||
| Name | Encoded representation (base64)
|
||||
|
||||
| 0 | `BM`
|
||||
| 1 | `BN`
|
||||
|
||||
@ -42,7 +42,7 @@ raw = subprocess.check_output([
|
||||
key_map = json.loads(raw)
|
||||
lines = [
|
||||
'See link:protocol-extensions.asciidoc#keyboard-handling[Keyboard Handling protocol extension]',
|
||||
'', '|===', '| Name | Encoded representation', ''
|
||||
'', '|===', '| Name | Encoded representation (base64)', ''
|
||||
]
|
||||
for k in sorted(key_map):
|
||||
lines.append('| {:15s} | `{}`'.format(k.replace('_', ' '), key_map[k]))
|
||||
|
||||
@ -368,7 +368,7 @@ The escape sequence encodes the following properties:
|
||||
Where `<type>` is one of `p` -- press, `r` -- release and `t` -- repeat.
|
||||
Modifiers is a bitmask represented as a single hexadecimal digit in lower case.
|
||||
Shift -- `0x1`, Control -- `0x2`, Alt -- `0x4` and Super -- `0x8`. `<key>` is
|
||||
a number (in lowercase hexadecimal) corresponding to the key pressed. The key name to
|
||||
a number (encoded in base64) corresponding to the key pressed. The key name to
|
||||
number mapping is defined in link:key_encoding.asciidoc[this table].
|
||||
|
||||
For example:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user