2.2.8.1.2.2.7 Fast-Path Relative Mouse Event (TS_FP_RELPOINTER_EVENT)
The TS_FP_RELPOINTER_EVENT structure is the fast path variant of the TS_RELPOINTER_EVENT (section 2.2.8.1.1.3.1.1.7) structure.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eventHeader |
pointerFlags |
xDelta |
|||||||||||||||||||||||||||||
... |
yDelta |
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_MOUSEREL (5). The eventFlags bitfield (5 bits in size) MUST be zeroed out.
pointerFlags (2 bytes): A 16-bit unsigned integer. Contains flags that describe the pointer event. The possible flags are identical to those found in the pointerFlags field of the TS_RELPOINTER_EVENT structure.
xDelta (2 bytes): A 16-bit signed integer. The distance the pointer has moved on the x-axis since the previous position update was sent. Negative values indicate that the pointer is moving to the left.
yDelta (2 bytes): A 16-bit signed integer. The distance the pointer has moved on the y-axis since the previous position update was sent. Negative values indicate that the pointer is moving up.