= Key encoding for extended keyboard protocol

See link:protocol-extensions.asciidoc#keyboard-handling[Keyboard Handling protocol extension]
 for more information and link:key_encoding.json[for this table in JSON format].

|===
| Name | Encoded representation (base64)

| 0               | `G`
| 1               | `H`
| 2               | `I`
| 3               | `J`
| 4               | `K`
| 5               | `L`
| 6               | `M`
| 7               | `N`
| 8               | `O`
| 9               | `P`
| A               | `S`
| APOSTROPHE      | `B`
| B               | `T`
| BACKSLASH       | `t`
| BACKSPACE       | `1`
| C               | `U`
| CAPS LOCK       | `:`
| COMMA           | `C`
| D               | `V`
| DELETE          | `3`
| DOWN            | `6`
| E               | `W`
| END             | `-`
| ENTER           | `z`
| EQUAL           | `R`
| ESCAPE          | `y`
| F               | `X`
| F1              | `/`
| F10             | `]`
| F11             | `{`
| F12             | `}`
| F13             | `@`
| F14             | `%`
| F15             | `$`
| F16             | `#`
| F17             | `BA`
| F18             | `BB`
| F19             | `BC`
| F2              | `*`
| F20             | `BD`
| F21             | `BE`
| F22             | `BF`
| F23             | `BG`
| F24             | `BH`
| F25             | `BI`
| F3              | `?`
| F4              | `&`
| F5              | `<`
| F6              | `>`
| F7              | `(`
| F8              | `)`
| F9              | `[`
| G               | `Y`
| GRAVE ACCENT    | `v`
| H               | `Z`
| HOME            | `.`
| I               | `a`
| INSERT          | `2`
| J               | `b`
| K               | `c`
| KP 0            | `BJ`
| KP 1            | `BK`
| KP 2            | `BL`
| KP 3            | `BM`
| KP 4            | `BN`
| KP 5            | `BO`
| KP 6            | `BP`
| KP 7            | `BQ`
| KP 8            | `BR`
| KP 9            | `BS`
| KP ADD          | `BX`
| KP DECIMAL      | `BT`
| KP DIVIDE       | `BU`
| KP ENTER        | `BY`
| KP EQUAL        | `BZ`
| KP MULTIPLY     | `BV`
| KP SUBTRACT     | `BW`
| L               | `d`
| LEFT            | `5`
| LEFT ALT        | `Bc`
| LEFT BRACKET    | `s`
| LEFT CONTROL    | `Bb`
| LEFT SHIFT      | `Ba`
| LEFT SUPER      | `Bd`
| M               | `e`
| MINUS           | `D`
| N               | `f`
| NUM LOCK        | `=`
| O               | `g`
| P               | `h`
| PAGE DOWN       | `9`
| PAGE UP         | `8`
| PAUSE           | `!`
| PERIOD          | `E`
| PRINT SCREEN    | `^`
| Q               | `i`
| R               | `j`
| RIGHT           | `4`
| RIGHT ALT       | `Bg`
| RIGHT BRACKET   | `u`
| RIGHT CONTROL   | `Bf`
| RIGHT SHIFT     | `Be`
| RIGHT SUPER     | `Bh`
| S               | `k`
| SCROLL LOCK     | `+`
| SEMICOLON       | `Q`
| SLASH           | `F`
| SPACE           | `A`
| T               | `l`
| TAB             | `0`
| U               | `m`
| UP              | `7`
| V               | `n`
| W               | `o`
| WORLD 1         | `w`
| WORLD 2         | `x`
| X               | `p`
| Y               | `q`
| Z               | `r`

|===
