Fist off, ive had this problem before and to solve it i usually reset my computer. But this time i did just that and it didnt solve it.
While i was playing some game, a window popped up asking something about mouse keys. I clicked the no option and went back to playing. However, my WASD keys werent working to my suprise since before the pop up i could move my character in the game. I hit escape to try and close the game but instead of getting the pause menu i switched to a window i had on the backround and using tab would bring me to a simpe version of the task menu. I tried to reset my computer but when i clicked on cortana it didnt open the menuwhen i tried to move an icon from my desktop it made a duplicate of the original. When i would double click on an icon to open it it brought up its properties window. I havent reset my computer because i want to know if there is any other way to fix it and how to stop it. I think it might be a virus but i installed avg and nothing popped up