This question already has an answer here:
My MacBook Air's internal keyboard and Trackpad have stopped working. To be honest, she had a bit of a fall about 2 weeks ago, about 3 feet onto carpet, it has worked fine ever since yesterday. I reset PRAM and SMC, no luck.
Works totally fine with external mouse and keyboard. How do I get it working again?