My keyboard and mouse don't work any more

I recently got this pc, we tried installing windows but it didn't work, so we took another hard drive with windows 8 on it and it worked but now I can't use the keyboard and mouse at the desktop
 
Back