MouseDataQueueSize

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 mouse events buffered by the mouse driver. It is also used in calculating the size of the mouse 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 MOUSE_INPUT_DATA structure (defined in NTDDMOU.H) by the value of MouseDataQueueSize.

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, Inport :

The ring buffer that stores incoming mouse 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.

Tip Image Tip

To view or change the value of this entry for a particular PS/2 mouse, use Device Manager. In the tree control, click Device and then, in the results pane, click Mouse, double-click the device name, and click the Advanced Settings tab. This value appears in the Input Buffer Length box.