[SOLVED] Mouse Malfunctioning weirdly

Okay so I have a wireless mouse that connects via a dongle. Been using it for almost an year now and it's begun to malfunction. What happens is that when I left click, the click doesn't register and instead it takes me back to previous page. This happens in chrome for example if I click on the next video on youtube instead it just takes me back to the previous video. it also happens in windows explorer and any other place where you can go back and forth.

I Thought it was just a malfunctioning mouse so I got a new wireless mouse and after a week or so of use, it also began doing the same thing. Funny thing is when I switched the USB port where the dongle was inserted in, the mouse began to work fine again so I thought maybe it was just a bad port. I tried my old mouse in a different port and it also worked fine but only for a week until the same thing happened again. So I had 3 USB ports on my laptop and now all 3 of them give me this problem with both my mice now. 1 in every 3 clicks just takes me back a page. I'm using this laptop for work and it's getting really annoying because a single click causes loss of data entered on a page or even in excel.


I've uninstalled/reinstalled the HID-Complaint Mice drivers. I've also made sure this is not a malware by running Windows Defender, Malwarebytes and Windows Malware removal tool that was suggested by a microsoft employee. Nothing has worked. The only solution seems to be is to either buy a new mouse that'll work for another few weeks until it goes bad. I've also tried all mices on a different laptop and they seem to work fine(I cannot be bothered to test this out for weeks to see if the bug happens there as well). Is this a problem with my motherboard or something? Is there a solution to this?
 
Solution
this may not help much but it will allow you test Just the hardware (mouse, dongle, motherboard, etc) independent of Windows.

Boot to a USB drive with linux on it. grab a USB drive, a copy of rufus and a linux distribution.
http://distrowatch.com/ has tons of differing linux distributions and download links. I personally am fond of linux mint with cinnamon.
https://rufus.ie/ the utility used to extract the ISO file to the USB drive.

use rufus to extract the selected ISO to the thumb drive. it will make the drive bootable and you can run linux from the drive once done.
Reboot into linux and proceed to test the hardware. connect to internet, watch videos, await problems.
if linux is good and stable the issue is most...
this may not help much but it will allow you test Just the hardware (mouse, dongle, motherboard, etc) independent of Windows.

Boot to a USB drive with linux on it. grab a USB drive, a copy of rufus and a linux distribution.
http://distrowatch.com/ has tons of differing linux distributions and download links. I personally am fond of linux mint with cinnamon.
https://rufus.ie/ the utility used to extract the ISO file to the USB drive.

use rufus to extract the selected ISO to the thumb drive. it will make the drive bootable and you can run linux from the drive once done.
Reboot into linux and proceed to test the hardware. connect to internet, watch videos, await problems.
if linux is good and stable the issue is most likely inside windows or otherwise software related.
this is a test of the hardware.

you can boot into linux and the new software will be a test of the hardware. if everything checks out here IT MUST be a software error in Windows somewhere
 
Solution