2.2.8.1.1.3.1.1.2 Unicode Keyboard Event (TS_UNICODE_KEYBOARD_EVENT)
The TS_UNICODE_KEYBOARD_EVENT structure is used to transmit a Unicode input code, as opposed to a keyboard scancode. Support for the Unicode Keyboard Event is advertised in the Input Capability Set (section 2.2.7.1.6).
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
keyboardFlags |
unicodeCode |
||||||||||||||||||||||||||||||
pad2Octets |
keyboardFlags (2 bytes): A 16-bit unsigned integer. The flags describing the Unicode keyboard event.
-
Flag
Meaning
KBDFLAGS_RELEASE
0x8000
The absence of this flag indicates a key-down event, whereas its presence indicates a key-release event.
unicodeCode (2 bytes): A 16-bit unsigned integer. The Unicode character input code.
pad2Octets (2 bytes): A 16-bit unsigned integer. Padding. Values in this field MUST be ignored.