I'm going to mention this.
My keyboard works on my sisters computer.
My sisters keyboard works on mine.
My keyboard doesn't work on mine.
My keyboard not working also seems to stop my mouse working. But with this working keyboard - the mouse is fine.
Is it as simple as updating drivers?