Keyboard / Mouse Keyboard errors, mouse disconnects, on-screen keyboard errors


TS Rookie
I was wondering if any of you had any idea what is going on with my computer. In bios it has a whole list of keyboard errors that happen all the time. When I am typing an "s" will type "sasasasasasasasasasa" forever, a "w" will be "wqwqwqwqwqwqwqwq" and an "x" will type "xzxzxzxzxzxzxzxz" infinitely. Even If i don't type anything it will repeat "sasasasasasasasasasasasa". I've tried 3 keyboards with the same problem happening, and my mouse randomly quits working and I have to unplug and replug it for it to work. I have formatted my computer twice and still get the same problem, so it's not a virus. It does it even in setup. Also, even more annoying is the windows On-Screen keyboard I have to use to type, as it has the SAME problem and even opens random windows and programs with certain letters. At first I thought it was my USB controller going out, but if it was, then how come the windows On-Screen Keyboard still does this?

Any help would be amazing, this is so damn annoying. Have any of you heard of this? Should I just get a new motherboard since it might be a bad controller of some sort?