KEYBOARD_SCAN_STATE enumeration (ntdd8042.h)

The KEYBOARD_SCAN_STATE enumeration type indicates the scan state of an input byte from a keyboard.

Syntax

typedef enum _KEYBOARD_SCAN_STATE {
  Normal,
  GotE0,
  GotE1
} KEYBOARD_SCAN_STATE, *PKEYBOARD_SCAN_STATE;

Constants

 
Normal
Indicates that the current byte is a Normal scan code (a nonextended code).
GotE0
Indicates that the current byte is an E0 extended scan code.
GotE1
Indicates that the current byte is an E1 extended scan code.

Remarks

This enumeration type is used as input to an optional KbFilter_IsrHook routine, which can be supplied by a vendor-supplied keyboard filter driver.

Requirements

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

See also

KbFilter_IsrHook

PI8042_KEYBOARD_ISR