My cursor keeps clicking by itself. Even when I disconnect my mouse from my computer, it’ll still click by itself for a few minutes before stopping.

I’ve tried all kinds of fixes for this problem, but none of them have worked. I’ve tried updating my mouse driver, updating my windows 10, checking for things like teamviewer, checking for malware. My keyboard also types random things like “898+++—“, which it typed just now. It’s really hard to use my computer when my mouse and keyboard have a mind of their own. I’ve also tried switching out my mouse for a different one, but it didn’t work. Is there anything more I can do?