Hello there, Kim.
Few questions..
1) Is there a chance that you might be connecting the mouse/keyboard on a USB hub? or front panel USB? i know this is a silly question but that could give you some trouble
2) Have you tried to change them to a different USB ports?
3) Do you have another mouse/keyboard to try in the PC to double check if that's the problem?
Try that and report back, please