If your mouse functions incorrectly, perhaps it is the issue with the driver.
To let the machine communicate with a mouse, a device driver is essential.
If your Logitech or HP mouse doesn’t function correctly, you can choose to download a new version and install it on your PC or update the mouse driver for Windows 11/10.