something happen to my mouse and keyboard recently...i do not know its the hardware problem or software...

1) Occurs frequently...may change back to normal.
Mouse: when i click on one icon, the rest of the icons will be hightlighted too....( out of control)and when i db-click all the highlighted icons will be opened.
Keyboard: this problem occurs with the mouse...when i type lettes on any programs take msword for example , the letters are all caps locked, the numbers cannot be keyed in...everything go haywire.....the funny thing is these problems occurs irregularly...
whats the problem?