Since you are doing hard shut downs, I highly recommend a
Disk Check with Automatically fix file system errors checked.
As to the mouse/keyboard issue, please provide more information. Are these USB or PS/2 devices?
Also, we have no idea if you have a laptop, desktop, or an HP UFO running Windows 7 (the last one is just a joke; HP has no UFOs to my knowledge

). Please fill in your system specs in your profile and
not in a post in this thread:
System Info - See Your System Specs