Trackpad and Keyboard not working after login
Hi, yesterday I was just using my laptop like usual and all of the sudden my keyboard and trackpad stopped working. My cursor moved to the top left corner of the screen and was stuck there. Then my laptop opened up the bluetooth subject in systems preferences and started to search for an external keyboard. None of my keys were working except my power on/off. I tried restarting it a bunch of times, nothing worked. I left it over night and it started working again fine this morning, then two hours later did the same thing. I waited a few hours, it started to work again and here we are.
Does anyone know how to get this to stop permanently myself?! I have three midterms next week and absolutely need my laptop for them, I can't be sending it away to be repaired right now!!!
Also, the weird thing is, that my trackpad and keyboard work fine on the login screen, I am able to enter my password and everything but as soon as I login it freezes up and keeps searching bluetooth for an external keyboard.
Is this a good question?