I fixed that problem by deactivating useless system services"services.msc", i can't really tell which one among them but my keyboard and mouse work fine now. By the way, it's not a virus problem since that it happened to me right after a fresh install of a windows copy