Skip to main content
generic Last reviewed 2026-08-18

Mouse driver

gaming mouse, three-quarter view shown with side buttons, scroll wheel, braided cable

How the Windows mouse driver stack turns optical sensor counts into cursor movement, why mouhid.sys and vendor software matter for DPI and polling, and how to update via Windows Update or your mouse maker's model support page.

Driver Information

Hardware Familyinput devices
Categorymouse
OSwin11, win10

In Short

  • A mouse driver converts the motion counts and button events from an optical or laser sensor into cursor movement and clicks that Windows and applications understand. The generic path runs mouhid.sys and mouclass.sys over USB HID, and handles cursor motion, buttons and the wheel out of the box. Adjustable DPI stages, polling-rate switching, button remapping and RGB need the maker's companion app. Update through Windows Update for the base driver, or through your mouse model's support page when you need those extra features or a firmware fix.

What this driver does

A mouse driver is the software that turns physical hand movement into a moving cursor. Underneath the shell sits an optical or laser sensor that photographs the surface thousands of times per second, compares successive frames, and outputs relative motion counts on X and Y axes. Those counts, together with button states and wheel ticks, are packaged as HID (Human Interface Device) reports and sent to the PC, usually over USB or a 2.4GHz wireless receiver. On Windows the reports pass through hidusb.sys and hidclass.sys, then mouhid.sys converts HID mouse usages into the motion and button events Windows expects, and mouclass.sys presents one logical pointing device to the desktop. The Win32k subsystem applies pointer acceleration and the system sensitivity slider before the cursor actually moves. This is why two mice at the same sensor resolution can feel different: the driver and Windows pointer settings shape the raw counts before they reach the screen. Sensor resolution is measured in DPI or CPI, counts per inch of physical movement. A higher DPI means the cursor travels further for the same hand motion. Polling rate, expressed in hertz, is how often the mouse reports its state; 125Hz reports every 8ms while 1000Hz reports every millisecond, which lowers input latency for fast gaming movement. The generic driver supports whatever the mouse reports by default, but changing DPI stages or polling usually needs the vendor app. Extra features live outside the standard mouse HID usage table. Programmable side buttons, on-the-fly DPI switching, lift-off distance tuning, surface calibration and RGB lighting are exposed through additional HID collections and a vendor filter driver with a resident service. The pointer keeps working on the built-in Microsoft driver, but these gaming and productivity features stay dormant until software such as Logitech G HUB, Razer Synapse or Corsair iCUE is installed.

Cutaway view of mouse driver with major components labelled

Why updating matters

Updating the mouse stack targets specific, testable faults rather than promising a vague boost. A classic case is the cursor that stutters or jumps: this can be a polling or HID report problem that a corrected mouhid.sys or a mouse firmware update smooths out. Another is the double-click on a single press, where the switch debounce in firmware misreads one click as two, which a vendor firmware update or a debounce setting can correct. Wireless mice add their own reasons. A stale receiver or Bluetooth driver can cause lag spikes, dropped movement or a cursor that freezes for a fraction of a second under 2.4GHz interference. Refreshing the transport driver and the mouse firmware often stabilises the link. After a Windows feature update, side buttons or DPI switching sometimes stop working because the generic driver replaced the vendor filter, and reinstalling the companion app restores them. Even so, a mouse that tracks cleanly and clicks reliably rarely needs a driver change. The honest advice is to update when you are chasing a named symptom, when Device Manager flags the device with an error, or when a new mouse's extra buttons and DPI stages are missing. Routine updating of a perfectly working pointer risks introducing a regression for no real gain. The two legitimate update routes are Windows Update, which maintains the generic HID mouse driver and sometimes an optional vendor package, and the support page for your specific mouse model, where the maker publishes the matched driver, firmware and companion app. This mouse reference links to neither route and hosts nothing; it describes both in plain words so you can reach the one your pointer needs yourself.

Mouse driver connected wirelessly and physically to typical peripherals in its ecosystem

Signs a driver may be failing

  • The cursor stutters, jumps or briefly freezes during fast movement, hinting at a polling or HID report fault
  • A single physical click registers as a double-click, pointing at a switch debounce problem in firmware
  • Programmable side buttons or the DPI-shift button do nothing while left and right clicks still work
  • A wireless mouse lags or drops movement under 2.4GHz interference or with a stale receiver driver
  • DPI stages and polling-rate options are missing because only the generic mouse driver is loaded
  • Device Manager shows the mouse under Mice with a yellow warning and a code such as 10, 43 or 28

How it fits into the OS stack

Drivers operate in the background, serving as translators. Here is where the Mouse driver sits between your apps and the hardware.

Diagram showing how a mouse driver driver sits between the application layer and the hardware

Distribution comparison

Vendor Comparison
ProviderFeatures & Stability
Microsoft generic HID mouse (Windows Update)Provides mouhid.sys and mouclass.sys so any HID mouse moves, clicks and scrolls the instant it is plugged in. It honours whatever DPI and polling the mouse reports by default but cannot change DPI stages, remap buttons or drive RGB. This is the inbox baseline refreshed through Windows Update.
Logitech (G HUB / Options+)Adds a filter driver and service exposing DPI stages, per-application profiles, button remapping and Lightsync on mice such as the G502 or MX Master. Movement works without it, but adjustable sensitivity, SmartShift scrolling and onboard memory profiles need the companion app resident.
Razer (Synapse) and Corsair (iCUE)Install a HID filter plus a service unlocking on-the-fly DPI, lift-off distance tuning, macro binding and RGB on mice like the DeathAdder or M65. Both depend on their service running; close Synapse or iCUE and the mouse falls back to its last onboard profile until relaunched.

Before you start

1Open Device Manager by right-clicking the Start button.
2Expand the relevant device category for your hardware.
3Right-click the specific component to open Properties.
4Check the current driver version in the Driver tab.
"Only install drivers from your operating system's update tool or the manufacturer's official support page."

Where this driver comes from

Drivers for Mouse driver typically reach your PC through one of three routes: shipped natively with the Windows operating system, delivered dynamically through system updates, or published directly by the hardware manufacturer for your specific model.

To ensure system stability, always allow your OS to handle baseline generic drivers. If you are experiencing performance issues or require advanced control panels, identify the exact model of your hardware and consult the device manufacturer's dedicated support resources.

Fixing installation problems

1

Separate a driver fault from hardware or surface issues

Try the mouse on a plain opaque mousepad rather than glass, and in a different USB port. Erratic tracking only on shiny surfaces is a sensor limitation, not a driver bug. If a wired mouse jumps in every port and app, the driver or HID stack is the more likely culprit.

2

Reinstall the mouse in Device Manager

Open Device Manager, expand Mice and other pointing devices, right-click your mouse and choose Uninstall device. Reboot so Windows redetects it and rebuilds mouhid.sys and mouclass.sys from a clean state, which resolves many stutter and unresponsive-button faults caused by a corrupt install.

3

Refresh the driver through Windows Update

Open Settings, go to Windows Update, click Check for updates, then open Advanced options and Optional updates. If a driver for your mouse or its HID or wireless controller appears, install it and reboot. This is the supported route to a maintained generic mouse driver.

4

Install the vendor app for DPI and buttons

If tracking works but DPI stages, side buttons or lighting are missing, install the companion software from your mouse maker's support page for your exact model, such as G HUB, Synapse or iCUE. Reboot so its filter driver and service load and the extra HID collections activate.

5

Stabilise a wireless connection

For a 2.4GHz mouse, move the USB receiver to a front port or a short extension near the mouse to cut interference, and update the receiver or Bluetooth driver. Replace or recharge the battery, since low power often mimics driver lag with dropped movement.

How to uninstall or rollback

1Click the Driver tab in the properties window.
2Select "Roll Back Driver" to revert to the previous version.
3If greyed out, use "Uninstall Device" instead.
1

Step 1

Open Device Manager, expand Mice and other pointing devices and double-click the affected mouse to open its properties
2

Step 2

On the Driver tab choose Roll Back Driver; if it is greyed out, Windows retained no previous mouse driver package
3

Step 3

When rollback is unavailable, use Uninstall device with the delete-driver-software box ticked, then reboot to fall back to the generic HID mouse driver
4

Step 4

If a vendor suite caused the fault, uninstall G HUB, Synapse or iCUE from Settings so its filter driver and service are removed
5

Step 5

Reboot and confirm basic tracking and clicking work before reinstalling any companion app or re-importing profiles

Safety Warning

Do not disconnect a wireless mouse or its receiver, or power off the PC, while the vendor app is flashing mouse firmware, because an interrupted write can corrupt the onboard microcontroller and stop the mouse from enumerating.

Common error codes

How an optical sensor becomes cursor movement

At the heart of a mouse is an optical or laser sensor, effectively a tiny high-speed camera. An LED or laser lights the surface, a small imaging array captures thousands of frames a second, and an onboard image processor compares consecutive frames to work out how far the mouse moved. The result is a stream of relative X and Y motion counts rather than absolute coordinates, which is why lifting and repositioning a mouse does not teleport the cursor. Those counts, plus button states and wheel ticks, are wrapped in a HID report defined by the mouse's report descriptor and sent to the PC. Windows reads the descriptor when the mouse enumerates, so a single generic driver can serve any conforming mouse. On the PC, hidusb and hidclass handle transport, mouhid.sys converts HID mouse usages into events, and mouclass.sys presents one pointer to the desktop. Before the cursor moves, Win32k applies the system sensitivity slider and, if enabled, pointer acceleration. This final stage explains why raw sensor DPI is only part of the feel: the same mouse can seem faster or slower purely from Windows settings. Understanding this layering helps you decide whether an aiming complaint is a driver fault, a DPI choice or simply pointer acceleration being switched on.

DPI, polling rate and input latency

DPI, or counts per inch, sets how many motion counts the sensor emits per inch of travel. Higher DPI moves the cursor further for the same hand motion, useful on high-resolution displays but harder to aim precisely at extremes. Many mice offer switchable DPI stages so you can drop sensitivity for a precise shot and raise it for fast turns, all handled by the vendor driver rather than the generic one. Polling rate is how often the mouse reports its state to the PC. At 125Hz the mouse updates every 8ms, while at 1000Hz it updates every millisecond, cutting the delay between hand movement and cursor response. Competitive players favour higher polling for lower input latency, though it slightly increases USB and CPU overhead. The generic driver uses the mouse's default polling, and changing it needs the companion app. Sensor quality also shapes tracking. Features like lift-off distance, the height at which the sensor stops registering, and surface calibration matter when you reposition the mouse often. Cheaper sensors can exhibit angle snapping or acceleration baked into firmware, which the vendor app may let you disable. Matching DPI, polling and these tuning options to how you actually use the mouse gives more real-world improvement than chasing the highest headline sensor number.

Wired, 2.4GHz wireless and Bluetooth paths

How the mouse connects decides which driver layer you troubleshoot. A wired USB mouse depends on the USB host controller and the standard HID chain; problems there are usually cable, port or driver related. A 2.4GHz wireless mouse pairs with a dedicated receiver, and its performance hinges on that receiver's driver, radio interference and battery level as much as on the mouse driver itself. Bluetooth mice add the Bluetooth stack into the path, which trades a little latency and reconnection speed for freeing a USB port. A Bluetooth mouse that wakes slowly or drops after sleep is often a Bluetooth radio driver issue rather than a mouse driver one. Knowing which transport you use stops you reinstalling the wrong software when the real fault is one layer down. For wireless mice, physical placement of the 2.4GHz receiver is a genuine variable, not a myth. USB 3 ports and hubs radiate interference in the 2.4GHz band, so a receiver plugged next to a USB 3 device can cause micro-stutters that look exactly like a driver fault. Moving the receiver closer to the mouse on a short extension, away from that interference, resolves a surprising number of wireless tracking complaints before any driver is touched.

Where this driver comes from

A mouse driver reaches your PC by one of three routes, and identifying the right one saves time. The first is shipped with the operating system: Windows already includes mouhid.sys and mouclass.sys, so nearly any mouse moves and clicks the moment it is connected, with no download required. This inbox driver is the base that everything else extends. The second route is delivered through system updates. Windows Update maintains the generic HID mouse driver and sometimes offers an optional vendor-supplied package for a recognised mouse, reached through Settings, Windows Update and Optional updates. It is convenient and the packages are signed and tested, but it rarely bundles the full DPI, macro and lighting suite a gaming mouse expects. The third route is a mouse driver published by the hardware maker for one specific pointing device. Firms such as Logitech, Razer and Corsair post the driver, firmware and companion app for each mouse on that product's support page, matched to its sensor, buttons and features. Use this route when you need those extras or a firmware fix, for example to cure a double-click. Whichever route you use, confirm the package matches your exact model and connection type; this reference names the routes in words and links to none, because it hosts no files and points to no vendor download.

Reading Device Manager error codes for mice

Device Manager is the quickest way to confirm a mouse driver fault. Under Mice and other pointing devices, a yellow triangle opened to the General tab shows a numeric code. Code 10, device cannot start, usually signals a corrupt driver or a firmware and driver mismatch and is often cleared by uninstalling and redetecting the mouse. Code 43 means Windows stopped the device after it reported an internal problem, which can be a failing controller or a bad firmware state. Code 28, drivers not installed, shows up when a vendor-specific HID collection, such as the DPI or macro interface, lacks its driver; installing the companion app fixes it. Code 19 indicates a damaged registry entry for the mouse, commonly resolved by uninstalling the mouse so Windows rebuilds its registry keys on reboot. Codes 22 and 45 relate to a disabled or currently disconnected device rather than to the mouse driver, which matters most for wireless mice whose receiver has dropped. The workflow stays the same across these codes. Record the code, test a different USB port to rule out the controller, uninstall the device and reboot for a clean reinstall, then check Windows Update Optional updates and finally the vendor app. For a wireless mouse, confirm the battery and receiver first, since a dead link can masquerade as a driver error before you have changed anything.

Frequently asked questions

Reviewer:
Last Reviewed:

Related Drivers