Computer retyping phrases and using random keystrokes

Hey everyone,

Here's my problem, my computer will start acting like my keyboard keys have been pressed or will type stuff that I have typed before. An example is when I am playing an online game my character will start running and jumping around, random windows will be open, and the text box will open and type things that I've said months ago. This happens on the online games that I play, as well as when I am sitting on my desktop. This has occurred in the past, but nothing I did seemed to fix it. It's almost as if it fixed itself without my knowledge. I've tried a different keyboard and it didn't fix the problem, I can't think of what it might be. Any help would be awesome, if something is needed just let me know.
 
Back