MOUSE_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntdd8042.h

typedef enum _MOUSE_STATE {
  MouseIdle,
  XMovement,
  YMovement,
  ZMovement,
  MouseExpectingACK,
  MouseResetting
} MOUSE_STATE, *PMOUSE_STATE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-ntdd8042-_mouse_state)

_MOUSE_STATE enumeration

Description

The MOUSE_STATE enumeration type identifies the current state of input from a mouse.

Constants

MouseIdle

Indicates that the next input byte from a mouse should be a status byte that specifies the button state and the sign and overflow bits for the x and y movement.

XMovement

Indicates that the next input byte from a mouse should be a byte that specifies movement data in the x-direction.

YMovement

Indicates that the next input byte from a mouse should be a byte that specifies movement data in the y-direction.

ZMovement

Indicates that the next input byte from a mouse should be a byte that specifies movement data in the z-direction (generated by a wheel mouse).

MouseExpectingACK

Indicates that the next input byte from a mouse should be an acknowledgment from an enable mouse command.

MouseResetting

Indicates that I8042prt is resetting the mouse.

Remarks

The MOUSE_STATE enumerator is used as input to a PI8042_MOUSE_ISR callback.

See also

MouFilter_IsrHook

PI8042_MOUSE_ISR