2.2.8.1.1.3.1.1 Slow-Path Input Event (TS_INPUT_EVENT)

The TS_INPUT_EVENT structure is used to wrap event-specific information for all slow-path input events.


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

eventTime

messageType

slowPathInputData (variable)

...

eventTime (4 bytes): A 32-bit, unsigned integer. The 32-bit time stamp for the input event. This value is ignored by the server.

messageType (2 bytes): A 16-bit, unsigned integer. The input event type.

Value

Meaning

INPUT_EVENT_SYNC

0x0000

Indicates a Synchronize Event (section 2.2.8.1.1.3.1.1.5).

INPUT_EVENT_UNUSED

0x0002

Indicates an Unused Event (section 2.2.8.1.1.3.1.1.6).

INPUT_EVENT_SCANCODE

0x0004

Indicates a Keyboard Event (section 2.2.8.1.1.3.1.1.1).

INPUT_EVENT_UNICODE

0x0005

Indicates a Unicode Keyboard Event (section 2.2.8.1.1.3.1.1.2).

INPUT_EVENT_MOUSE

0x8001

Indicates a Mouse Event (section 2.2.8.1.1.3.1.1.3).

INPUT_EVENT_MOUSEX

0x8002

Indicates an Extended Mouse Event (section 2.2.8.1.1.3.1.1.4).

INPUT_EVENT_MOUSEREL

0x8004

Indicates a Relative Mouse Event (section 2.2.8.1.1.3.1.1.7).

slowPathInputData (variable): TS_KEYBOARD_EVENT, TS_UNICODE_KEYBOARD_EVENT, TS_POINTER_EVENT, TS_POINTERX_EVENT, TS_SYNC_EVENT, or TS_UNUSED_EVENT. The actual contents of the input event specified by the messageType field (sections 2.2.8.1.1.3.1.1.1 through 2.2.8.1.1.3.1.1.6).