KeyboardDataQueueSize

HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

Data type Range Default value
REG_DWORD 0x1 - 0xFFFFFFFF 0x64 (100)

Description

(This entry has limited use in Windows 2000. See Notes below.)

Specifies the number of keyboard events buffered by the keyboard driver. It is also used in calculating the size of the keyboard driver's internal buffer in nonpaged memory pool. To determine the number of bytes to allocate for the buffer, the system multiplies the size of the KEYBOARD_INPUT_DATA structure (defined in NTDDKBD.H) by the value of KeyboardDataQueueSize.

You might consider increasing this value if the driver does not initialize or operate correctly and the System Log in Event Viewer contains the following message from the source, i8042prt :

The ring buffer that stores incoming keyboard data has overflowed (buffer size is configurable via the registry).

Note Image Note

This entry is used only when a device is installed. When the system recognizes a new device, it copies this entry to a device-specific subkey in the Enum subkey. Thereafter, it uses only the entries in Enum.