MOUSE_STATE enumeration (ntdd8042.h)

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

Syntax

typedef enum _MOUSE_STATE {
  MouseIdle,
  XMovement,
  YMovement,
  ZMovement,
  MouseExpectingACK,
  MouseResetting
} MOUSE_STATE, *PMOUSE_STATE;

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.

Requirements

Requirement Value
Header ntdd8042.h (include Ntdd8042.h)

See also

MouFilter_IsrHook

PI8042_MOUSE_ISR