Mid 2014 Macbook Pro randomly stops responding (keyboard and trackpad won't do anything) My girlfriend's MacBook Pro randomly stops responding - everything on the laptop keeps working as per usual (i.e. video will continue to play as if nothing was wrong) but absolutely no keyboard inputs or trackpad movements are registered - the only thing we can do is hold down the power button to force turn off the Mac then restart it.

I've tried resetting both the SMC and PRAM to no avail. It seems quite sporadic and I believe it's some sort of software issue rather than hardware (especially since the power button does actually work, even though nothing else does)

Any ideas please? Thank you!
This will probably sound strange, but I had a short of similar issue on my MacBook Pro.

It turned out I was somehow accidentally managing to trigger the "Swipe between full-screen apps" gesture just a tiny almost imperceptible bit. It took me ages to figure this out. But while it is partially through a swipe nothing else seems to register on the keyboard or trackpad.

If this is the problem you can just do a little horizontal three or four (depending on how you have it set) finger wiggle to reset it, or turn the swipe off in System Preferences.