I tried unplugging my keyboard to fix it (incase that was the issue) but it still kept typing. (For example, I searched Playstation 4 and hit enter, but it kept typing now and then playstation 4 and searching without me doing it.) I haven't downloaded anything that I'm aware of. When it started repeating the words I had searched. I was searching for Playstation 4 and where to buy it It also started clicking down internet browsers and re-opening them.
It wasn't random numbers nor letters but instead 'searching' words/meanings.
For awhile ago my computer started typing by itself.