Partager via


2.2.8.1.2.2.2 Fast-Path Unicode Keyboard Event (TS_FP_UNICODE_KEYBOARD_EVENT)

The TS_FP_UNICODE_KEYBOARD_EVENT structure is the fast-path variant of the TS_UNICODE_KEYBOARD_EVENT (section 2.2.8.1.1.3.1.1.2) structure. Support for the Unicode Keyboard Event is advertised in the Input Capability Set (section 2.2.7.1.6).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

eventHeader

unicodeCode

eventHeader (1 byte): An 8-bit unsigned integer. The format of this field is the same as the eventHeader byte field, specified in section 2.2.8.1.2.2. The eventCode bitfield (3 bits in size) MUST be set to FASTPATH_INPUT_EVENT_UNICODE (4). The eventFlags bitfield (5 bits in size) contains flags describing the keyboard event.

5-Bit Codes

Meaning

FASTPATH_INPUT_KBDFLAGS_RELEASE

0x01

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.