if only one key is doing it, i would say it is a hardware problem. if a lot or all keys are doing it, i would say it is a software problem.