Really REALLY weird hardware problem...

I swear, my computer is cursed. I’ve run into more weird problems than anyone else I know.

I woke up this morning and my keyboard wasn’t working. The lights were on, but it wasn’t typing. Odd. I tried unplugging and plugging it back in. Nothing. I tried getting another keyboard. Same problem; Lights on, nobody home. I checked Control Panel, and there seemed to be no keyboards connected.

Then, on a whim, I tried something. My computer has six USB ports, four in the back and two in the front. I plugged my keyboard into one of the front ones and it worked. I tried it again in all of the back slots; nothing.

The slots seem to still work, as my mouse and my controller tend to be plugged into them. But they don’t seem to register my keyboard, or indeed any keyboard at all.

Does anyone have a vague idea of what could be up with this?