次の方法で共有


2.2.8.1.2.2.5 Fast-Path Synchronize Event (TS_FP_SYNC_EVENT)

 The TS_FP_SYNC_EVENT structure is the fast-path variant of the TS_SYNC_EVENT (section 2.2.8.1.1.3.1.1.5) structure.


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

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_SYNC (3). The eventFlags bitfield (5 bits in size) contains flags indicating the "on" status of the keyboard toggle keys.

5-Bit Codes

Meaning

FASTPATH_INPUT_SYNC_SCROLL_LOCK

0x01

Indicates that the Scroll Lock indicator light SHOULD be on.

FASTPATH_INPUT_SYNC_NUM_LOCK

0x02

Indicates that the Num Lock indicator light SHOULD be on.

FASTPATH_INPUT_SYNC_CAPS_LOCK

0x04

Indicates that the Caps Lock indicator light SHOULD be on.

FASTPATH_INPUT_SYNC_KANA_LOCK

0x08

Indicates that the Kana Lock indicator light SHOULD be on.