Skip to content

Commit

Permalink
#400 Update kvm-input-mode.md
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Jun 15, 2023
1 parent f944669 commit 99c40d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/kvm-input-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ Note: The bracketed paste mode is mandatory.

### Keyboard

The sequence fired after every key press and release.
The sequence fired after every key press and release. This sequence contains a string generated by a keystroke in the form of a set of code points: `UnicodeChar + Continuing1 + ... + ContinuingN`. A string generated by a keystroke can be fragmented and delivered by multiple consecutive events.

```
ESC [ VirtualKey ; ScanCode ; BaseChar ; KeyDown ; CtrlState ; RepeatCount ; C1 ; … ; Cn _
ESC [ VirtualKey ; ScanCode ; UnicodeChar ; KeyDown ; CtrlState ; RepeatCount ; C1 ; … ; Cn _
```

Field | Description
-----------------|--------------------------
`VirtualKey` | Virtual key code.
`ScanCode` | Key scan code.
`BaseChar` | Base(first) Unicode character codepoint.
`UnicodeChar` | First character codepoint.
`KeyDown` | Key pressed flag: 1 - Pressed, 0 - Released.
`CtrlState` | Keyboard modifiers state.
`RepeatCount` | Key repeat count.
Expand Down

0 comments on commit 99c40d4

Please sign in to comment.